Skip to content

Commit 1c2da9f

Browse files
committed
added before_deploy step
1 parent 3eb4ebb commit 1c2da9f

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.travis.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ jobs:
2525
python: 3.6
2626
install: pip install sphinx
2727
script: sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
28-
- stage: deploy
29-
script: echo "deploying"
3028

3129

32-
#deploy:
33-
# provider: pages
34-
# skip_cleanup: true
35-
# github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
36-
# keep_history: true
37-
# on:
38-
# branch: master
30+
deploy:
31+
provider: pages
32+
skip_cleanup: true
33+
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
34+
keep_history: true
35+
on:
36+
branch: master
37+
before_deploy:
38+
python: 3.6
39+
install: pip install sphinx
40+
script: sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
41+
3942

0 commit comments

Comments
 (0)