diff options
author | 2018-06-03 19:25:37 +0200 | |
---|---|---|
committer | 2018-06-03 19:25:37 +0200 | |
commit | 3f5412ed388b81b5fb077675f69811376396843a (patch) | |
tree | 81af8775bdb7ef62ec4c0b965d65d97dea7cf9f8 /scripts | |
parent | [RST] Better handling for timestamps and colours in embeds (diff) |
remove deploy.py [ci skip]
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/deploy.py | 8 | ||||
-rw-r--r-- | scripts/deploy.sh | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/scripts/deploy.py b/scripts/deploy.py deleted file mode 100644 index 04f3e8229..000000000 --- a/scripts/deploy.py +++ /dev/null @@ -1,8 +0,0 @@ -import os - -import requests - -url = os.environ.get("AUTODEPLOY_WEBHOOK") -token = os.environ.get("AUTODEPLOY_TOKEN") -result = requests.get(url=url, headers={'token': token}) -print(result.text) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index d982bcbcf..49fa03fcb 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -12,7 +12,7 @@ if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then docker push pythondiscord/bot:latest echo "Deploying container" - pipenv run python scripts/deploy.py + curl -H "token: $AUTODEPLOY_TOKEN" $AUTODEPLOY_WEBHOOK else echo "Skipping deploy" fi |