Skip to content

🔖 v0.0.1

🔖 v0.0.1 #2

Workflow file for this run

name: Build demo website
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21.0'
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.113.0'
extended: true
- name: Build demo website
working-directory: exampleSite
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: exampleSite/public