From da0c8e663b8772fd736649d04981f4749ae9ceed Mon Sep 17 00:00:00 2001 From: emht Date: Tue, 3 Oct 2017 23:27:11 +0530 Subject: [PATCH 1/2] Adding .travis.yml for auto deployment --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ae0bca9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: python +python: + - "2.7" +sudo: false +dist: trusty + +install: + - pip install -r requirements.txt + +script: + - python build.py + +deploy: + provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN + on: + branch: master From 0759ab66108ccaa748b60d55e95a57218f811cf2 Mon Sep 17 00:00:00 2001 From: emht Date: Tue, 3 Oct 2017 23:28:28 +0530 Subject: [PATCH 2/2] Setting auto_reloader as False in build.py --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 19fb447..69d1acc 100755 --- a/build.py +++ b/build.py @@ -6,4 +6,4 @@ ('index.html', {}) ]) # enable automatic reloading - site.render(use_reloader=True) + site.render(use_reloader=False)