Deploy doc only when tags on master

This commit is contained in:
Adrien Crivelli 2020-04-27 18:29:05 +09:00
parent b1a7863485
commit 4e6d6838e0
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jobs:
- php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml - php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml
- stage: API documentations - stage: API documentations
if: tag is present AND branch = master
php: 7.4 php: 7.4
before_script: before_script:
- curl -O https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar - curl -O https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar