adding docs building and deploy in CI
This commit is contained in:
15
.github/workflows/Build.yml
vendored
15
.github/workflows/Build.yml
vendored
@@ -17,3 +17,18 @@ jobs:
|
||||
|
||||
- name: Building
|
||||
run: zig build
|
||||
|
||||
- name: Generating docs
|
||||
run: zig build docs
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: 'zig-out/docs'
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user