Adding woodpecker 2
This commit is contained in:
parent
b8ad6b527f
commit
aaf58ec581
1 changed files with 3 additions and 6 deletions
|
@ -12,12 +12,9 @@ pipeline:
|
|||
npm_publish:
|
||||
image: node:17-alpine
|
||||
commands:
|
||||
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc
|
||||
- echo "email = $NPM_EMAIL" >> ~/.npmrc
|
||||
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
||||
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
||||
- npm publish
|
||||
environment:
|
||||
NPM_AUTH_TOKEN:
|
||||
from_secret: npm_token
|
||||
NPM_EMAIL: tyhou13@gmx.com
|
||||
secrets: [npm_token]
|
||||
when:
|
||||
event: tag
|
||||
|
|
Loading…
Reference in a new issue