From a54927a7f48b5b24625c47710f269ddc62b1503d Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Thu, 23 Mar 2023 09:41:27 -0700 Subject: [PATCH] Update GitHub Pages starter workflow (#2023) Upstream changes: - https://github.com/actions/starter-workflows/pull/1984 - https://github.com/actions/starter-workflows/pull/1991 --- .../en/hosting-and-deployment/hosting-on-github/index.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/en/hosting-and-deployment/hosting-on-github/index.md b/content/en/hosting-and-deployment/hosting-on-github/index.md index 7123c9d2d..0ccfd840d 100644 --- a/content/en/hosting-and-deployment/hosting-on-github/index.md +++ b/content/en/hosting-and-deployment/hosting-on-github/index.md @@ -87,10 +87,11 @@ permissions: pages: write id-token: write -# Allow one concurrent deployment +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" - cancel-in-progress: true + cancel-in-progress: false # Default to bash defaults: @@ -102,7 +103,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.111.2 + HUGO_VERSION: 0.111.3 steps: - name: Install Hugo CLI run: | @@ -145,7 +146,7 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 {{< /code >}} Step 7