aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.py
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-04-29 20:03:50 +0200
committerGravatar GitHub <[email protected]>2018-04-29 20:03:50 +0200
commitf57942f2575dc26c9487688ded773a0abdab5c61 (patch)
treed39039c85b361c199c7dd77e4d02fb1a14082054 /deploy.py
parent[Wiki] Dumb CSS typo (diff)
pipenv and dockerfile (#62)
pipenv and dockerfile
Diffstat (limited to 'deploy.py')
-rw-r--r--deploy.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/deploy.py b/deploy.py
deleted file mode 100644
index 20d8edd5..00000000
--- a/deploy.py
+++ /dev/null
@@ -1,20 +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")