Skip to content

deps: bump actions/checkout in the github-actions group (#20) #23

deps: bump actions/checkout in the github-actions group (#20)

deps: bump actions/checkout in the github-actions group (#20) #23

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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f #v4.1.3
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f #v3.0.0
with:
hugo-version: latest
extended: true
- name: Build
run: hugo --minify
- name: Publish
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e #v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public