Skip to content

chore: bump github runner #26

chore: bump github runner

chore: bump github runner #26

Workflow file for this run

name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v5
- name: Update Theme
run: git submodule update --init --recursive
- name: 'Setup Hugo'
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
- name: 'Build'
run: hugo --minify
- name: 'Deploy'
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public