From c3bce58803c5045204e09bc3e81befa2d0b74f3b Mon Sep 17 00:00:00 2001 From: scragly <29337040+scragly@users.noreply.github.com> Date: Fri, 29 Mar 2019 02:22:14 +1000 Subject: Add Azure CI. (#16) This PR is to add CI settings to master and to test the PR CI pipeline. --- scripts/deploy.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 scripts/deploy.sh (limited to 'scripts') diff --git a/scripts/deploy.sh b/scripts/deploy.sh deleted file mode 100644 index 9d4ec4f..0000000 --- a/scripts/deploy.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Build and deploy on master branch -if [[ $CI_COMMIT_REF_SLUG == 'master' ]]; then - echo "Connecting to docker hub" - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - echo "Building image" - pipenv run buildbox - - echo "Pushing image" - pipenv run pushbox - - # echo "Deploying container" - # curl -H "token: $AUTODEPLOY_TOKEN" $AUTODEPLOY_WEBHOOK -else - echo "Skipping deploy" -fi -- cgit v1.2.3