We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81760f5 commit 0fff2a7Copy full SHA for 0fff2a7
.github/workflows/build.yml
@@ -3,6 +3,11 @@ on:
3
push:
4
branches:
5
- master
6
+permissions:
7
+ contents: read
8
+ pages: write
9
+ id-token: write
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
@@ -14,4 +19,20 @@ jobs:
14
19
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
15
20
16
21
- name: Build and deploy
17
- run: nix develop --command mkdocs gh-deploy --force
22
+ run: nix develop --command mkdocs build --site-dir public
23
24
+ - name: Upload artifact
25
+ uses: actions/upload-pages-artifact@v1
26
+ with:
27
+ path: public
28
29
+ deploy:
30
+ environment:
31
+ name: github-pages
32
+ url: ${{ steps.deployment.outputs.page_url }}
33
+ runs-on: ubuntu-latest
34
+ needs: build
35
+ steps:
36
+ - name: Deploy to GitHub Pages
37
+ id: deployment
38
+ uses: actions/deploy-pages@v1
0 commit comments