Skip to content

chore: update hugo version to 0.126.3 #53

chore: update hugo version to 0.126.3

chore: update hugo version to 0.126.3 #53

Workflow file for this run

name: Github Pages
on: [push]
jobs:
deploy:
name: Build with Hugo and deploy to gh pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Update submodule
run: git submodule update --init --recursive
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.126.3'
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public