From 167ea971331abe86070bd60d622ae9bc85734db4 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 16 Aug 2025 13:14:25 -0700 Subject: [PATCH] content: Update GitHub Pages workflow example --- content/en/host-and-deploy/host-on-github-pages/index.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/en/host-and-deploy/host-on-github-pages/index.md b/content/en/host-and-deploy/host-on-github-pages/index.md index 49720ba1a..e708cffd3 100644 --- a/content/en/host-and-deploy/host-on-github-pages/index.md +++ b/content/en/host-and-deploy/host-on-github-pages/index.md @@ -73,7 +73,7 @@ touch .github/workflows/hugo.yaml Copy and paste the YAML below into the file you created. Change the branch name and Hugo version as needed. ```yaml {file=".github/workflows/hugo.yaml" copy=true} -name: Build and deploy Hugo site to GitHub Pages +name: Build and deploy on: push: branches: @@ -100,7 +100,7 @@ jobs: TZ: Europe/Oslo steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: recursive fetch-depth: 0 @@ -169,8 +169,6 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: ./public - - # Deployment job deploy: environment: name: github-pages