Skip to content

Commit 2fed51d

Browse files
authored
Update main.yml
1 parent e66501e commit 2fed51d

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
name: Publish
2+
23
on:
3-
push:
4-
branches:
5-
- main
4+
push:
5+
branches: [main]
66

77
jobs:
8-
build:
9-
name: Deploy
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
8+
build:
9+
name: Deploy
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
1414

15-
- name: Deploy
16-
uses: mhausenblas/mkdocs-deploy-gh-pages@master
17-
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
CONFIG_FILE: src/mkdocs.yml
21-
# EXTRA_PACKAGES: build-base
22-
# GITHUB_DOMAIN: github.myenterprise.com
23-
#REQUIREMENTS: folder/requirements.txt
15+
- name: Deploy
16+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
CONFIG_FILE: src/mkdocs.yml

0 commit comments

Comments
 (0)