diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 296d055..6b2d0ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}