File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change 1- name : Publish docs via GitHub Pages
1+ name : Build
22on :
33 push :
44 branches :
55 - master
6-
76jobs :
87 build :
9- name : Deploy docs
108 runs-on : ubuntu-latest
119 steps :
12- - name : Checkout main
13- uses : actions/checkout@v2
14- - name : Setup Python 3.x
15- uses : actions/setup-python@v2
10+ - uses : actions/checkout@v2.4.0
11+ - uses : cachix/install-nix-action@v15
1612 with :
17- python-version : 3.x
18- - name : Install mkdocs-material
19- run : pip3 install mkdocs-material
20- - name : Install mkdocs-static-i18n
21- run : pip3 install mkdocs-static-i18n
22- - name : Deploy docs
23- run : mkdocs gh-deploy --force
13+ extra_nix_config : |
14+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
15+
16+ - name : Build and deploy
17+ run : nix develop --command mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments