Skip to content

Commit

Permalink
fix(github): pass REPO_COOKER_GITHUB_TOKEN env variable directly to '…
Browse files Browse the repository at this point in the history
…npm run release'
  • Loading branch information
henri-hulski committed Jul 15, 2023
1 parent 1682899 commit 7ab50eb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ jobs:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
repository: cerebral/repo-cooker
- run: npm run release -- --print-release
- run: REPO_COOKER_GITHUB_TOKEN=${{ steps.generate_token.outputs.token }} npm run release -- --print-release
if: github.event_name != 'pull_request'
env:
REPO_COOKER_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
REPO_COOKER_NPM_OTP: ${{secrets.REPO_COOKER_NPM_OTP}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
REPO_COOKER_NPM_OTP: ${{ secrets.REPO_COOKER_NPM_OTP }}

0 comments on commit 7ab50eb

Please sign in to comment.