Skip to content

reword: negligence rather than plain stupid #28

reword: negligence rather than plain stupid

reword: negligence rather than plain stupid #28

Workflow file for this run

name: Publish Site
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # .Lastmod / .GitInfo need the full history
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
# blowfish v2.105.0 requires extended, >= 0.158.0 and <= 0.164.0
hugo-version: '0.160.1'
extended: true
- name: Build
run: hugo --gc --minify --cleanDestinationDir
- name: Publish to gh-pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public