Skip to content

update 2026-03-11 21:18:07 #9

update 2026-03-11 21:18:07

update 2026-03-11 21:18:07 #9

Workflow file for this run

name: Deploy Hugo Site
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.157.0"
extended: true
- run: hugo --minify --buildFuture
- uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_branch: master
publish_dir: ./public
force_orphan: true
cname: su-team.cn