From 4071114581aac800da0cb257901ee1a131c443b5 Mon Sep 17 00:00:00 2001 From: Zyie <24736175+Zyie@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:49:56 +0100 Subject: [PATCH] fix script --- .github/workflows/deploy-build.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-build.yaml b/.github/workflows/deploy-build.yaml index e286f84..0550550 100644 --- a/.github/workflows/deploy-build.yaml +++ b/.github/workflows/deploy-build.yaml @@ -5,8 +5,12 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} + cancel-in-progress: true + jobs: - release_candidate: + deploy: runs-on: ubuntu-latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -20,4 +24,7 @@ jobs: uses: ./.github/actions/setup - name: Build Project - run: npm run deploy + run: | + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" + npm run deploy