Skip to content

Commit

Permalink
fix: use static token for publishing the package
Browse files Browse the repository at this point in the history
  • Loading branch information
mysza committed Sep 30, 2024
1 parent bc93745 commit fb23279
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ jobs:
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
with:
repositories: github-packages
app-id: ${{ vars.CLICKUP_GITHUB_BOT_APP_ID }}
private-key: ${{ secrets.CLICKUP_GITHUB_BOT_PRIVATE_KEY }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ steps.generate-token.outputs.token }}
NODE_AUTH_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }}

0 comments on commit fb23279

Please sign in to comment.