first npm publish
This commit is contained in:
parent
0566ccc7f0
commit
b49f422835
3 changed files with 46 additions and 39 deletions
|
|
@ -28,8 +28,14 @@ pages:
|
|||
paths:
|
||||
- public
|
||||
|
||||
clean:
|
||||
stage: clean
|
||||
script:
|
||||
publish:
|
||||
stage: deploy
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'
|
||||
- npm publish
|
||||
|
||||
after_script:
|
||||
- docker rm -v $(docker container ls -q --all --filter=name="runner-*" --filter=status=exited) || true
|
||||
- docker rmi $(docker images -f"dangling=true" -q) || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue