From fcde626d5137d5cb709ee4bddb424836208dc475 Mon Sep 17 00:00:00 2001 From: yen Date: Wed, 16 Aug 2023 17:05:35 +0800 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f75cb55..f5a2225 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,6 +31,9 @@ jobs: cache: 'npm' cache-dependency-path: sudoku-app/package-lock.json - run: npm ci - - run: npm run deploy - env: - deployment-token: ${{ secret.PERSON_ACCESS_TOKEN_FOR_PUSH_TO_GH_PAGES_BRANCH }} + - name: Deploy + run: | + git config --global user.email ${{ secrets.MY_EMAIL }} + git config --global user.name ${{ secrets.MY_NAME }} + git remote set-url origin https://github.com/Hack-Weekly/sage-giraffe-sudoku.git + npm run deploy