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 }}