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
|
# *** 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/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue