diff --git a/plugins/woocommerce-admin/.travis.yml b/plugins/woocommerce-admin/.travis.yml index e30c89e75a9..59d2719710d 100755 --- a/plugins/woocommerce-admin/.travis.yml +++ b/plugins/woocommerce-admin/.travis.yml @@ -39,4 +39,16 @@ script: branches: only: - - master \ No newline at end of file + - 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