aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy.sh')
-rw-r--r--scripts/deploy.sh18
1 files changed, 0 insertions, 18 deletions
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