From 9c153a1dd498b6c927478c352b3d4aea88433e2d Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Sun, 20 May 2018 18:03:07 +0200 Subject: removes the python deploy script in favour of a curl command (#74) --- scripts/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/deploy.sh') diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 96723aa6..d1ac047d 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # Build and deploy on master branch if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then @@ -12,7 +13,7 @@ if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then docker push pythondiscord/site:latest echo "Deploying container" - pipenv run python scripts/deploy.py + curl -H "token: $AUTODEPLOY_TOKEN" $AUTODEPLOY_URL else echo "Skipping deploy" fi -- cgit v1.2.3