Add GitHub pages deploy step to Travis config. (https://github.com/woocommerce/woocommerce-admin/pull/2940)
This commit is contained in:
parent
8b77fe144e
commit
605e866d62
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue