From 81e459f234f10ff7aeb34ab35a24882a3e157b34 Mon Sep 17 00:00:00 2001 From: wheattoast11 Date: Wed, 20 Nov 2024 13:30:21 -0600 Subject: [PATCH] update deploy method --- .github/workflows/deploy.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 376da7a..6cb65ed 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,15 +5,16 @@ on: branches: [ main ] workflow_dispatch: +# Allow only one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + permissions: contents: read pages: write id-token: write -concurrency: - group: "pages" - cancel-in-progress: false - jobs: build: runs-on: ubuntu-latest @@ -32,9 +33,7 @@ jobs: - name: Build run: npm run build - env: - NODE_ENV: production - + - name: Setup Pages uses: actions/configure-pages@v4