Skip to content

Commit

Permalink
fix: replace GITHUB_TOKEN with PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiter committed Sep 15, 2021
1 parent 96de7fc commit 3c81daf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.SECRET_NAME }}
- uses: actions/setup-node@v2-beta
with:
node-version: "10.22.0"
Expand Down Expand Up @@ -52,14 +53,12 @@ jobs:
if: github.ref == 'refs/heads/develop'
uses: codfish/semantic-release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.SECRET_NAME }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Deploy on master branch
if: github.ref == 'refs/heads/master'
uses: codfish/semantic-release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.SECRET_NAME }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Commit to develop branch and merge to master branch
Expand Down

0 comments on commit 3c81daf

Please sign in to comment.