Skip to content

Commit

Permalink
ci: use a deploy key for git auth
Browse files Browse the repository at this point in the history
  • Loading branch information
dvirtz committed Dec 3, 2024
1 parent 70f943a commit 8bbb64c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
persist-credentials: false
ssh-key: ${{ secrets.DEPLOY_KEY }}

- run: corepack enable

Expand All @@ -31,6 +31,5 @@ jobs:

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: yarn semantic-release

0 comments on commit 8bbb64c

Please sign in to comment.