summaryrefslogtreecommitdiff
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy.sh')
-rwxr-xr-xscripts/deploy.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
deleted file mode 100755
index bd78599..0000000
--- a/scripts/deploy.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-DIR="$(cd "$(dirname "$0")" && pwd)"
-STATUS="Status: Downloaded newer image for blindsidenetwks/scalelite:latest"
-
-new_status=$(sudo docker pull blindsidenetwks/scalelite:latest | grep Status:)
-
-echo $new_status
-
-if [ "$STATUS" == "$new_status" ]
-then
- cd $DIR/..
- docker-compose down
- docker rmi $(docker images -f dangling=true -q)
- docker-compose up -d
-fi
-
-exit 0