Skip to content

Commit

Permalink
meta: fix pushing to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
ephys committed Mar 19, 2024
1 parent 0987d3d commit a796568
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ jobs:
runs-on: ubuntu-latest
needs: [docs, test-sqlite, test-postgres, test-oldest-latest]
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
env:
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
steps:
- name: Generate Sequelize Bot Token
id: generate-token
Expand Down Expand Up @@ -276,7 +278,6 @@ jobs:
- run: yarn publish-all
env:
GITHUB_TOKEN: '${{ steps.generate-token.outputs.token }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
GH_TOKEN: '${{ steps.generate-token.outputs.token }}'
- id: sequelize
uses: sdepold/github-action-get-latest-release@aa12fcb2943e8899cbcc29ff6f73409b32b48fa1 # master
Expand Down

0 comments on commit a796568

Please sign in to comment.