Skip to content

Commit

Permalink
chore(CD): use publish environment
Browse files Browse the repository at this point in the history
  • Loading branch information
goraxe committed Dec 19, 2023
1 parent 77ba4c7 commit f539ff1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ jobs:
release:
needs: [ 'test', 'pre-commit' ]
runs-on: ubuntu-latest
environment: publish
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -48,4 +51,4 @@ jobs:
- run: yarn run semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit f539ff1

Please sign in to comment.