From 220bc05c6250584cb004a897da53a6f44a8fbc5c 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 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-build.yaml b/.github/workflows/deploy-build.yaml index e286f84..6d7fdd1 100644 --- a/.github/workflows/deploy-build.yaml +++ b/.github/workflows/deploy-build.yaml @@ -6,7 +6,7 @@ on: - main jobs: - release_candidate: + deploy: runs-on: ubuntu-latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -20,4 +20,10 @@ 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@users.noreply.github.com" + npm run deploy + env: + GIT_USER: $GITHUB_ACTOR + GIT_PASS: ${{ secrets.GITHUB_TOKEN }}