Skip to content

Commit

Permalink
try to fix travis ci (PaddlePaddle#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanyi15 authored Jun 26, 2019
1 parent 60626aa commit 9b1f69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then exit $exit_code; fi;
# Deploy to the the content server if its a "develop" or "release/version" branch
# The "develop_doc" branch is reserved to test full deploy process without impacting the real content.
if [ "$TRAVIS_BRANCH" == "develop_doc" ]; then
PPO_SCRIPT_BRANCH=develop
PPO_SCRIPT_BRANCH=reset_pass_travisci
elif [[ "$TRAVIS_BRANCH" == "develop" || "$TRAVIS_BRANCH" =~ ^v|release/[[:digit:]]+\.[[:digit:]]+(\.[[:digit:]]+)?(-\S*)?$ ]]; then
PPO_SCRIPT_BRANCH=master
PPO_SCRIPT_BRANCH=reset_pass_travisci
else
# Early exit, this branch doesn't require documentation build
echo "This branch doesn't require documentation build";
Expand Down

0 comments on commit 9b1f69e

Please sign in to comment.