Generate API doc on tag only

Because it doesn't need to be run on every PR and documenting
only release is exactly what we want
This commit is contained in:
Adrien Crivelli 2020-06-29 10:15:42 +09:00
parent 6caa0cb4f5
commit e74ef3a802
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 1 deletions

View File

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