Skip to content

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

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

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

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b #v4.1.5
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