commit cb7d9e28d45b40213efc4a3185dd12e990c27fae
parent 0c9f7d4ab9c4e3fb0020ade0063f7dfc1c90be42
Author: finwo <finwo@pm.me>
Date: Mon, 22 Oct 2018 16:59:46 +0200
Only deploy master
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -21,3 +21,5 @@ deploy:
script:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- if [ $(npm view $(node -p "require('./package.json').name") version) != $(node -p "require('./package.json').version") ]; then npm publish ; fi
+ only:
+ - master