Skip to content

Bump peaceiris/actions-hugo from 2 to 3 (#199) #57

Bump peaceiris/actions-hugo from 2 to 3 (#199)

Bump peaceiris/actions-hugo from 2 to 3 (#199) #57

name: Deploy docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.110.0'
extended: true
- name: Build
working-directory: docs
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
commit_message: '[skip ci] Deploy:'
publish_dir: docs/public