Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit a796568

Browse files
committed
meta: fix pushing to npm
1 parent 0987d3d commit a796568

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ jobs:
242242
runs-on: ubuntu-latest
243243
needs: [docs, test-sqlite, test-postgres, test-oldest-latest]
244244
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
245+
env:
246+
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
245247
steps:
246248
- name: Generate Sequelize Bot Token
247249
id: generate-token
@@ -276,7 +278,6 @@ jobs:
276278
- run: yarn publish-all
277279
env:
278280
GITHUB_TOKEN: '${{ steps.generate-token.outputs.token }}'
279-
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
280281
GH_TOKEN: '${{ steps.generate-token.outputs.token }}'
281282
- id: sequelize
282283
uses: sdepold/github-action-get-latest-release@aa12fcb2943e8899cbcc29ff6f73409b32b48fa1 # master

0 commit comments

Comments
 (0)