From dbd231c5590e5be0ed00a2e541e7f9a142f21a66 Mon Sep 17 00:00:00 2001 From: Tommy Adamos Date: Wed, 23 Jan 2019 14:02:51 +0000 Subject: [PATCH] bitbucket-pipelines.yml created online with Bitbucket --- bitbucket-pipelines.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 000000000..326f10f12 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,14 @@ +image: umwerk/node-awscli + +pipelines: + default: + - step: + script: + - echo "nothing to do" + branches: + master: + - step: + script: + - ng build --prod + - tar cfz /tmp/$BITBUCKET_REPO_SLUG.tgz * + - scp /tmp/$BITBUCKET_REPO_SLUG.tgz $DEPLOYMENT_USER@$TESTING_HOST:/tmp/