Skip to content

deps: bump the github-actions group with 1 update (#17) #20

deps: bump the github-actions group with 1 update (#17)

deps: bump the github-actions group with 1 update (#17) #20

Workflow file for this run

name: Publish Site
on:
push:
branches:
- main
jobs:
publish:
name: Publish
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d #v2.6.0
with:
hugo-version: latest
extended: true
- name: Build
run: hugo --minify
- name: Publish
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 #v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public