mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 02:06:13 +00:00
config - Change some settings to Travis env. variables
This commit is contained in:
parent
8a44715eaa
commit
5da5e37e4f
1 changed files with 11 additions and 2 deletions
13
.travis.yml
13
.travis.yml
|
@ -25,6 +25,15 @@ addons:
|
|||
script: make travis
|
||||
|
||||
deploy:
|
||||
# Set these environment variables in travis-ci.org settings for the repo:
|
||||
#
|
||||
# GITHUB_TOKEN: token that allows Travis to deploy to GitHub (mark secure)
|
||||
# DEPLOY_REPO_NAME: GitHub repo to deploy to (i.e dash-docs/dash-docs.github.io)
|
||||
# DEPLOY_TARGET_BRANCH: Branch to deploy to (must be master for page to work correctly)
|
||||
#
|
||||
# *** NOTE: the target branch is overwritten on deployment. Use caution to
|
||||
# avoid inadvertently overwriting something
|
||||
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
|
||||
|
@ -34,8 +43,8 @@ deploy:
|
|||
|
||||
verbose: true
|
||||
local-dir: _site/
|
||||
repo: thephez/thephez.github.io
|
||||
target_branch: master
|
||||
repo: $DEPLOY_REPO_NAME
|
||||
target_branch: $DEPLOY_TARGET_BRANCH
|
||||
|
||||
# Generate and deploy documentation
|
||||
after_success:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue