Add deploy script
This commit is contained in:
parent
023062922a
commit
315d9c5487
1 changed files with 15 additions and 1 deletions
|
@ -20,4 +20,18 @@ steps:
|
||||||
- yarn test
|
- yarn test
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|
||||||
|
publish:
|
||||||
|
image: plugins/npm
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: NPM_USERNAME
|
||||||
|
email:
|
||||||
|
from_secret: NPM_EMAIL
|
||||||
|
password:
|
||||||
|
from_secret: NPM_PASSWORD
|
||||||
|
api_key:
|
||||||
|
from_secret: NPM_TOKEN
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
branch: main
|
Loading…
Reference in a new issue