✨ add advanced logging features and channel from syndica sig (#26) #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate and Deploy Docs | |
on: | |
push: | |
branches: [main] | |
permissions: write-all | |
env: | |
ZIG_VERSION: 0.14.0-dev.1409+6d2945f1f | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ env.ZIG_VERSION }} | |
- run: zig build docs | |
- name: Deploy | |
if: ${{ github.ref == 'refs/heads/main' }} && steps.check_changes.outcome == 'success' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: zig-out/docs |