Skip to content

Merge branch 'release-1.0.1' #20

Merge branch 'release-1.0.1'

Merge branch 'release-1.0.1' #20

Workflow file for this run

name: Publish demo site to GitHub Pages
on:
push:
tags:
- 'v*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.121.2'
extended: true
- name: Build demo website to public directory
run: |
cd ./exampleSite
hugo --config ../.github/demo_hugo.toml --themesDir ../.. --minify
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./exampleSite/public
commit_message: 'Deploy to GitHub Pages via GitHub Actions'