Fix tar/zip commands on deploy

This commit is contained in:
NGPixel 2017-04-04 22:30:36 -04:00
parent 1a214298d0
commit 6ff3486b60

View File

@ -20,8 +20,8 @@ before_script:
- npm install -g snyk - npm install -g snyk
- snyk auth $SNYK_TOKEN - snyk auth $SNYK_TOKEN
before_deploy: before_deploy:
- tar -czf wiki-js.tar.gz * -X='.deployexclude' - tar -czf wiki-js.tar.gz * -X .deployexclude
- zip -R -q 'wiki-js' -x@.deployexclude - zip -R -q 'wiki-js' -x@.deployexclude *
- snyk monitor - snyk monitor
deploy: deploy:
provider: releases provider: releases