CI: phpstan: check for PHPDOC_DEPLOY_SSH_KEY
This commit is contained in:
parent
152545b3c9
commit
0fcc2d1d66
|
@ -47,10 +47,10 @@ phpdoc:
|
||||||
name: ${CI_DOCKER_IMAGE}
|
name: ${CI_DOCKER_IMAGE}
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "web"
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "web" && $PHPDOC_DEPLOY_SSH_KEY != null
|
||||||
changes:
|
changes:
|
||||||
- '**/*.php'
|
- '**/*.php'
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $PHPDOC_DEPLOY_SSH_KEY != null
|
||||||
when: manual
|
when: manual
|
||||||
script:
|
script:
|
||||||
- php81 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public
|
- php81 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public
|
||||||
|
|
Loading…
Reference in New Issue