ci cleanup
This commit is contained in:
parent
b49f422835
commit
86caab900f
1 changed files with 5 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ build:
|
|||
|
||||
pages:
|
||||
stage: deploy
|
||||
allow_failure: true
|
||||
script:
|
||||
- mkdir .public
|
||||
- cp -r ./docs/* .public
|
||||
|
|
@ -30,12 +31,15 @@ pages:
|
|||
|
||||
publish:
|
||||
stage: deploy
|
||||
allow_failure: true
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'
|
||||
- npm publish
|
||||
|
||||
after_script:
|
||||
clean:
|
||||
stage: clean
|
||||
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