Skip to content

Commit

Permalink
fix(build): use semantic-release token for release
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccaffery committed Dec 16, 2020
1 parent 8f23fb3 commit c0449ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@master
with:
persist-credentials: false

- name: install-node
uses: actions/setup-node@master
Expand All @@ -32,11 +34,9 @@ jobs:
- name: semantic-release-dry-run
run: npx semantic-release --ci --dry-run
if: ${{ github.event.repository.fork }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: semantic-release
run: npx semantic-release --ci
if: ${{ !github.event.repository.fork }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

0 comments on commit c0449ef

Please sign in to comment.