From 54369f64c628e957d6c4a6953f2407d0f3df8564 Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Sat, 28 Apr 2018 14:28:35 +0200 Subject: adds dockerfile that uses pipenv (#60) Dockerfile and new deploy flow that builds the container in travis --- deploy.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 deploy.py (limited to 'deploy.py') diff --git a/deploy.py b/deploy.py deleted file mode 100644 index 853d2b0c5..000000000 --- a/deploy.py +++ /dev/null @@ -1,19 +0,0 @@ -import os - -import requests - -branch = os.environ.get("TRAVIS_BRANCH") -url = os.environ.get("AUTODEPLOY_WEBHOOK") -token = os.environ.get("AUTODEPLOY_TOKEN") -PR = os.environ.get("TRAVIS_PULL_REQUEST") - -print('branch:', branch) -print('is_pr:', PR) - -if branch == 'master' and PR == 'false': - print("deploying..") - result = requests.get(url=url, headers={'token': token}) - print(result.text) - -else: - print("skipping deploy") -- cgit v1.2.3