Skip to content

Commit

Permalink
Travis CI continuous deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
BrOrlandi committed Aug 15, 2017
1 parent 2061369 commit f035926
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ python:

install: "pip install -r requirements.txt"

script: "python build.py"
script: "python build.py"

deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
on:
branch: master
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# print output_from_parsed_template

# to save the results
with open("docs/index.html", "wb") as fh:
with open("index.html", "wb") as fh:
fh.write(output_from_parsed_template)
Empty file removed docs/.gitkeep
Empty file.

0 comments on commit f035926

Please sign in to comment.