From 22c644d9274640ae73dabadd1f94af1c73984a32 Mon Sep 17 00:00:00 2001 From: Julie <22972550+Cobular@users.noreply.github.com> Date: Sat, 8 Jun 2024 15:32:58 -0700 Subject: [PATCH] Update pipeline --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cca6ba8..7429b59 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,10 +48,10 @@ jobs: run: | git config --global user.name $user_name git config --global user.email $user_email - git remote set-url origin https://${github_token}@github.com/${repository} + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git CI='' npm run deploy env: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' - github_token: ${{ secrets.DEPLOY_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} repository: ${{ github.repository }}