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 09102c5 commit fc88a4dCopy full SHA for fc88a4d
.github/workflows/deploy-docs.yml
@@ -0,0 +1,39 @@
1
+name: Deploy Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: mlugg/setup-zig@v1
14
+ with:
15
+ version: 0.14.0
16
+ - run: zig build docs
17
18
+ - name: Upload Pages artifact
19
+ uses: actions/upload-pages-artifact@v3
20
21
+ path: ./zig-out/docs
22
23
+ deploy:
24
+ needs: build
25
26
27
+ permissions:
28
+ pages: write
29
+ id-token: write
30
31
+ environment:
32
+ name: github-pages
33
+ url: ${{ steps.deployment.outputs.page_url }}
34
35
36
+ - name: Deploy to GitHub Pages
37
+ id: deployment
38
+ uses: actions/deploy-pages@v4
39
0 commit comments