Skip to content

Commit 498a8e5

Browse files
committed
adding docs building and deploy in CI
1 parent 2a62333 commit 498a8e5

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/Build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,18 @@ jobs:
1717

1818
- name: Building
1919
run: zig build
20+
21+
- name: Generating docs
22+
run: zig build docs
23+
24+
- name: Setup Pages
25+
uses: actions/configure-pages@v5
26+
27+
- name: Upload artifact
28+
uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: 'zig-out/docs'
31+
32+
- name: Deploy to GitHub Pages
33+
id: deployment
34+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)