From 5436405cd8132d8a2f4c363819d5b2be165cbcd2 Mon Sep 17 00:00:00 2001 From: Orka Arnest CRUZE <33525693+ocruze@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:02:38 +0200 Subject: [PATCH] Update build-gh-pages.yml --- .github/workflows/build-gh-pages.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-gh-pages.yml b/.github/workflows/build-gh-pages.yml index a3f1cbf..2e45e96 100644 --- a/.github/workflows/build-gh-pages.yml +++ b/.github/workflows/build-gh-pages.yml @@ -14,13 +14,7 @@ permissions: contents: read pages: write id-token: write - -# 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: false - + jobs: build: name: Generate a static build @@ -51,6 +45,11 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + # 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: false steps: - name: Deploy to GitHub Pages id: deployment