From 7ff2aeb8d59b621f067da40d7a2c800709fe9a4c Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 5 Feb 2018 13:37:49 -0500 Subject: [PATCH] config - Add Travis variable for the deploy from branch --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8346c6e0..7d8b7cc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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/