Skip to content

chore(release): prepare for v0.1.5 #36

chore(release): prepare for v0.1.5

chore(release): prepare for v0.1.5 #36

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
name: Deploy website
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.10.1
- name: Show Zig version
run: |
zig version
zig env
- name: Build
run: |
zig build -Ddocs=true
mkdir website
cp assets/index.html website
cp -r docs website
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: website
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2