Skip to content

Commit

Permalink
ci: use ssh key and remove references to GITHUB_TOKEN (livekit#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbsp authored Dec 21, 2024
1 parent 50d0a71 commit dec87af
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
with:
submodules: true
lfs: true
env:
GITHUB_TOKEN: ${{ secrets.CHANGESETS_PUSH_DEPLOY_KEY }}
ssh-key: ${{ secrets.CHANGESETS_PUSH_DEPLOY_KEY }}

- uses: pnpm/action-setup@v4
- name: Use Node.js 20
Expand All @@ -50,8 +49,6 @@ jobs:
set +e
pnpm changeset pre ${{ github.ref == 'refs/heads/main' && 'exit' || 'enter dev' }}
echo "exitcode=$?" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add changes
if: ${{ steps.release_mode.outputs.exitcode == '0' }}
Expand All @@ -67,8 +64,6 @@ jobs:
with:
version: pnpm ci:version
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: debug packages
run: echo "${{ steps.changesets.outputs.publishedPackages }}"
Expand Down

0 comments on commit dec87af

Please sign in to comment.