Merge branch 'master' into development

This commit is contained in:
Eraldo Hasanaj
2019-01-23 17:09:35 +01:00

17
bitbucket-pipelines.yml Normal file
View File

@@ -0,0 +1,17 @@
image: node:latest
pipelines:
default:
- step:
script:
- echo "nothing to do"
branches:
master:
- step:
caches:
- node
script:
- npm install
- node_modules/.bin/ng build --prod
- tar cfz /tmp/$BITBUCKET_REPO_SLUG.tgz dist
- scp /tmp/$BITBUCKET_REPO_SLUG.tgz $DEPLOYMENT_USER@$TESTING_HOST:/tmp/