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