File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
7
+ permissions :
8
+ contents : write
9
+
7
10
jobs :
8
- build :
9
- name : Deploy docs
11
+ deploy :
10
12
runs-on : ubuntu-latest
11
13
steps :
12
- - name : Checkout main
13
- uses : actions/checkout@v3
14
-
15
- - name : Deploy docs
16
- # uses: quinlan-lab/proj-mutator-mapping@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
- # CUSTOM_DOMAIN: optionaldomain.com
21
- CONFIG_FILE : mkdocs.yml
22
- # EXTRA_PACKAGES: build-base
23
- # GITHUB_DOMAIN: github.myenterprise.com
24
- REQUIREMENTS : requirements.txt
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-python@v4
16
+ with :
17
+ python-version : 3.x
18
+ - uses : actions/cache@v2
19
+ with :
20
+ key : ${{ github.ref }}
21
+ path : .cache
22
+ - run : pip install mkdocs-material
23
+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments