Skip to content

Merge pull request #7 from sea-grass/development #10

Merge pull request #7 from sea-grass/development

Merge pull request #7 from sea-grass/development #10

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.14.0-dev.1911+3bf89f55c
- name: Build
run: zig build site -- -p /goku
- name: Publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build