Separate documentation deployment

This commit is contained in:
Stéphane Goetz 2018-09-30 11:06:28 +02:00
parent 3e41b5142e
commit 10070f9b90

View File

@ -19,13 +19,18 @@ after_script:
- wget https://scrutinizer-ci.com/ocular.phar - wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
before_deploy: jobs:
- bin/daux generate include:
- stage: "Deploy Documentation"
deploy: php: "7.2"
provider: pages script: skip
local_dir: static before_deploy:
skip_cleanup: true - composer install
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard - bin/daux generate
on: deploy:
branch: master provider: pages
local_dir: static
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master