CI: set some job filters
This commit is contained in:
parent
088dd049b5
commit
2b01786124
|
@ -9,6 +9,12 @@ stages:
|
|||
stage: build
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
changes:
|
||||
- '**/*.php'
|
||||
- '**/*.js'
|
||||
- '.docker/**/*'
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
when: manual
|
||||
before_script:
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
- docker login -u ${DOCKER_HUB_USER} -p ${DOCKER_HUB_TOKEN}
|
||||
|
@ -101,6 +107,8 @@ phpdoc:
|
|||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
changes:
|
||||
- '**/*.php'
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
when: manual
|
||||
script:
|
||||
- php81 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public
|
||||
- mkdir -p ~/.ssh &&
|
||||
|
|
Loading…
Reference in New Issue