mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
config - Add Travis variable for the deploy from branch
This commit is contained in:
parent
dc19dec08b
commit
7ff2aeb8d5
1 changed files with 3 additions and 1 deletions
|
@ -45,13 +45,15 @@ deploy:
|
|||
#
|
||||
# *** NOTE: the target branch is overwritten on deployment. Use caution to
|
||||
# avoid inadvertently overwriting something
|
||||
#
|
||||
# DEPLOY_SOURCE_BRANCH: Branch to deploy from
|
||||
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
|
||||
keep-history: false
|
||||
on:
|
||||
branch: travisGHdeploy
|
||||
branch: $DEPLOY_SOURCE_BRANCH
|
||||
|
||||
verbose: false
|
||||
local-dir: _site/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue