Add GitHub pages deploy step to Travis config. (https://github.com/woocommerce/woocommerce-admin/pull/2940)

This commit is contained in:
Jeff Stieler 2019-09-24 13:01:17 -07:00 committed by GitHub
parent 8b77fe144e
commit 605e866d62
1 changed files with 13 additions and 1 deletions

View File

@ -40,3 +40,15 @@ script:
branches:
only:
- master
deploy:
local_dir: docs
provider: pages
skip_cleanup: true
github_token: $GH_PAGES_TOKEN
keep_history: true
on:
condition: $RUN_JS == 1 # only deploy on the PHP 7.2/JS build
branch: master
target_branch: gh-pages
verbose: true