1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-02 13:43:52 +00:00

Cleaner, more portable syntax for build docs

This commit is contained in:
Henry Fredrick Schreiner 2017-03-23 16:47:47 -04:00
parent 1676ccf939
commit c53da32814

View File

@ -63,8 +63,11 @@ after_success:
- if [ -n "$COVERALLS" ] ; then cd $TRAVIS_BUILD_DIR && .ci/run_codecov.sh ; fi
- echo "${TRAVIS_BRANCH}"
- echo "${TRAVIS_PULL_REQUEST}"
- if [ "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_PULL_REQUEST}" == "false" && "$DEPLOY_MAT" == "yes" ] ; then echo "Updating docs" && cd $TRAVIS_BUILD_DIR && .ci/build_docs.sh
; fi
- |
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ -n "$DEPLOY_MAT" ]
then
echo "Updating docs" && cd $TRAVIS_BUILD_DIR && .ci/build_docs.sh
fi
deploy:
provider: releases
api_key: