Skip to content

Commit

Permalink
Separate documentation deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
onigoetz committed Sep 30, 2018
1 parent 3e41b51 commit 10070f9
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@ after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

before_deploy:
- bin/daux generate

deploy:
provider: pages
local_dir: static
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master
jobs:
include:
- stage: "Deploy Documentation"
php: "7.2"
script: skip
before_deploy:
- composer install
- bin/daux generate
deploy:
provider: pages
local_dir: static
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master

0 comments on commit 10070f9

Please sign in to comment.