File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -4,29 +4,20 @@ name: Build Documentation using MkDocs
4
4
# events but only for the master branch
5
5
on :
6
6
push :
7
- branches : [deploy ]
7
+ branches : [main ]
8
8
pull_request :
9
- branches : [deploy ]
9
+ branches : [main ]
10
10
permissions :
11
11
contents : write
12
12
jobs :
13
13
build :
14
14
name : Build and Deploy Documentation
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - name : Checkout Master
17
+ - name : Checkout Repository
18
18
uses : actions/checkout@v4
19
19
20
- - name : Set up Python
21
- uses : actions/setup-python@v5
22
- with :
23
- python-version : ' 3.x'
24
-
25
- - name : Install dependencies
26
- run : |
27
- python -m pip install --upgrade pip
28
- pip install mkdocs-material
29
-
30
- - name : Deploy
31
- run : |
32
- mkdocs gh-deploy --strict
20
+ - name : Deploy Docs
21
+ uses : mhausenblas/mkdocs-deploy-gh-pages@master
22
+ env :
23
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments