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