File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ after_success:
5858 - pylint mini_lambda # note that at the moment the report is simply lost, we dont transform the result into anything
5959# ***documentation***
6060 - mkdocs build -f docs/mkdocs.yml
61+ - if [ "${TRAVIS_PULL_REQUEST}" = "true" ]; then exit(0); fi;
6162 - mv reports/junit site/
6263 # mkdocs gh-deploy requires special care :
6364 # ---grant the possibility to push on the repo---
@@ -71,7 +72,7 @@ after_success:
7172 - git fetch gh-remote && git fetch gh-remote gh-pages:gh-pages;
7273 # push but only if this is not a build triggered by a pull request
7374 # note: here we use the --dirty flag so that mkdocs does not clean the additional reports that we copied in the site
74- - if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${ TRAVIS_PYTHON_VERSION}" = "3.5" ]; then echo "Pushing to github"; PYTHONPATH=mini_lambda/ mkdocs gh-deploy -v --dirty -f docs/mkdocs.yml --remote-name gh-remote; git push gh-remote gh-pages; fi;
75+ - if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then echo "Pushing to github"; PYTHONPATH=mini_lambda/ mkdocs gh-deploy -v --dirty -f docs/mkdocs.yml --remote-name gh-remote; git push gh-remote gh-pages; fi;
7576# - if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then echo "Pushing to github"; git push gh-remote gh-pages; fi;
7677
7778deploy :
You can’t perform that action at this time.
0 commit comments