mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix(master): final workflow fix
This commit is contained in:
16
.github/workflows/publish-release.yml
vendored
16
.github/workflows/publish-release.yml
vendored
@@ -48,6 +48,14 @@ jobs:
|
||||
run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish in NPM (whiskeysockets scope)
|
||||
run: |
|
||||
npx json -I -f package.json -e "this.name='@whiskeysockets/baileys'"
|
||||
npm publish --access public --//registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||
npx json -I -f package.json -e "this.name='baileys'"
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Generate Changelog
|
||||
id: generate_changelog
|
||||
@@ -79,11 +87,3 @@ jobs:
|
||||
baileys.tgz
|
||||
gzip: folders
|
||||
allow_override: true
|
||||
|
||||
- name: Publish in NPM (whiskeysockets scope)
|
||||
run: |
|
||||
npx json -I -f package.json -e "this.name='@whiskeysockets/baileys'"
|
||||
npm publish --access public
|
||||
npx json -I -f package.json -e "this.name='baileys'"
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user