mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-09-22 05:51:00 +02:00
set proper stages for phpdoc jobs
This commit is contained in:
parent
19c0909337
commit
29cc61d1e3
@ -81,9 +81,9 @@ ttrss-web-nginx:push-branch:
|
|||||||
|
|
||||||
phpdoc:build:
|
phpdoc:build:
|
||||||
image: ${PHP_IMAGE}
|
image: ${PHP_IMAGE}
|
||||||
stage: lint
|
stage: publish
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH # == $CI_DEFAULT_BRANCH && $PHPDOC_DEPLOY_SSH_KEY != null
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
script:
|
script:
|
||||||
- php83 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public
|
- php83 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public
|
||||||
artifacts:
|
artifacts:
|
||||||
@ -92,11 +92,11 @@ phpdoc:build:
|
|||||||
|
|
||||||
phpdoc:publish:
|
phpdoc:publish:
|
||||||
extends: .build-docker-kaniko
|
extends: .build-docker-kaniko
|
||||||
stage: lint
|
stage: publish
|
||||||
needs:
|
needs:
|
||||||
- job: phpdoc:build
|
- job: phpdoc:build
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH # == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
variables:
|
variables:
|
||||||
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/phpdoc/Dockerfile
|
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/phpdoc/Dockerfile
|
||||||
NAME: ttrss-phpdoc
|
NAME: ttrss-phpdoc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user