diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-07-21 11:07:06 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-07-21 11:07:06 +0300 |
| commit | 29cc61d1e3bf125996f827193faabf99b4ea5dfd (patch) | |
| tree | 5aa405a3d92f8877698d59a767c6b19ad417f299 | |
| parent | 19c09093374ea1c1453f4d5d6e6f1a15c6ceda85 (diff) | |
set proper stages for phpdoc jobs
| -rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 077465e37..b5c4dd2f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,9 +81,9 @@ ttrss-web-nginx:push-branch: phpdoc:build: image: ${PHP_IMAGE} - stage: lint + stage: publish rules: - - if: $CI_COMMIT_BRANCH # == $CI_DEFAULT_BRANCH && $PHPDOC_DEPLOY_SSH_KEY != null + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH script: - php83 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public artifacts: @@ -92,11 +92,11 @@ phpdoc:build: phpdoc:publish: extends: .build-docker-kaniko - stage: lint + stage: publish needs: - job: phpdoc:build rules: - - if: $CI_COMMIT_BRANCH # == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH variables: DOCKERFILE: ${CI_PROJECT_DIR}/.docker/phpdoc/Dockerfile NAME: ttrss-phpdoc |