diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f89f460e..3a55330f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,7 +57,7 @@ jobs: - name: Publish Netlify CMS uses: erezrokah/2fa-with-slack-action@v1.0.0 env: - GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }} + GIT_TOKEN: ${{ secrets.PUSH_TOKEN }} NPM_TOKEN: ${{secrets.NPM_TOKEN}} SLACK_TOKEN: ${{secrets.SLACK_TOKEN}} CONVERSATION_ID: ${{secrets.CONVERSATION_ID}} diff --git a/package.json b/package.json index 9fa98af9..374cee01 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "publish:version": "lerna version --no-push", "publish:push": "run-s publish:push-git publish:from-git", "publish:push-git": "git push --follow-tags", - "publish:push-git:ci": "git push \"https://$GITHUB_ACTOR:$PUSH_TOKEN@github.com/$GITHUB_REPOSITORY.git\" --follow-tags", + "publish:push-git:ci": "git push \"https://$GITHUB_ACTOR:$GIT_TOKEN@github.com/$GITHUB_REPOSITORY.git\" --follow-tags", "publish:from-git": "lerna publish from-git --pre-dist-tag beta", "publish:dry-run": "run-s \"publish:version --no-git-tag-version\"", "publish:prerelease": "run-s publish:prerelease:before-manual-version publish:after-manual-version",