I upgraded my Github Actions workflow to use the latest version of Hugo
.github/workflows/hugo.yaml
Sample workflow for building and deploying a Hugo site to GitHub Pages name: Deploy Hugo site to Pages
on:
Runs on pushes targeting the default branch push: branches: - main
Allows you to run this workflow manually from the Actions tab workflow_dispatch:
Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write
2024 08 19 -
I upgraded my Github Actions workflow to use the latest version of Hugo .github/workflows/hugo.yaml Sample workflow for building and deploying a Hugo site to GitHub Pages name: Deploy Hugo site to Pages on: Runs on pushes targeting the default branch push: branches: - main Allows you to run this workflow manually from the Actions tab workflow_dispatch: Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write
https://spr12ian.github.io/blog/2024-08-19/