readme: update last tested version #89
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: cd | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
emit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Zig | |
uses: mlugg/[email protected] | |
with: | |
version: master | |
- name: Run `docs` | |
run: zig build docs | |
- name: Upload artifact for GitHub Pages | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: zig-out/docs/ | |
deploy: | |
needs: emit | |
runs-on: ubuntu-latest | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Deploy artifact to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |