Skip to content

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

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

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

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@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0
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