Skip to content

Commit

Permalink
disable publish for main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Aug 15, 2022
1 parent 29f39c0 commit 85716ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ script:
after_success:
- echo "$TRAVIS_SECURE_ENV_VARS"
- touch ./build/html/.nojekyll
- sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "main";
then echo "update GitHub pages"; ./scripts/travis_add_deploy_key.sh; ./scripts/travis_update_pages.sh
$TRAVIS_BUILD_DIR/build /tmp; fi'
#- sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "main";
# then echo "update GitHub pages"; ./scripts/travis_add_deploy_key.sh; ./scripts/travis_update_pages.sh
# $TRAVIS_BUILD_DIR/build /tmp; fi'
notifications:
irc:
channels:
Expand Down

0 comments on commit 85716ce

Please sign in to comment.