Skip to content

Merge pull request #2 from sea-grass/development #4

Merge pull request #2 from sea-grass/development

Merge pull request #2 from sea-grass/development #4

name: Build and Publish
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: mlugg/setup-zig@v1
with:
version: 0.13.0-dev.351+64ef45eb0
- name: Build
run: zig build site
- name: Publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build