config - Add Travis variable for the deploy from branch

This commit is contained in:
thephez 2018-02-05 13:37:49 -05:00
parent dc19dec08b
commit 7ff2aeb8d5

View file

@ -45,13 +45,15 @@ deploy:
# #
# *** NOTE: the target branch is overwritten on deployment. Use caution to # *** NOTE: the target branch is overwritten on deployment. Use caution to
# avoid inadvertently overwriting something # avoid inadvertently overwriting something
#
# DEPLOY_SOURCE_BRANCH: Branch to deploy from
provider: pages provider: pages
skip-cleanup: true skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: false keep-history: false
on: on:
branch: travisGHdeploy branch: $DEPLOY_SOURCE_BRANCH
verbose: false verbose: false
local-dir: _site/ local-dir: _site/