ci: rename github secret (#3525)

This commit is contained in:
Erez Rokah 2020-04-02 10:17:19 +03:00 committed by GitHub
parent 9af7069a35
commit 1bca0884f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ jobs:
- name: Publish Netlify CMS
uses: erezrokah/2fa-with-slack-action@v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
SLACK_TOKEN: ${{secrets.SLACK_TOKEN}}
CONVERSATION_ID: ${{secrets.CONVERSATION_ID}}

View File

@ -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:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git\" --follow-tags",
"publish:push-git:ci": "git push \"https://$GITHUB_ACTOR:$PUSH_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",