update phpdoc image
This commit is contained in:
parent
9556519e67
commit
89f5af62d8
|
@ -43,8 +43,7 @@ ttrss-fpm-pgsql-static:branch:
|
||||||
BUILD_CONTEXT: ${CI_PROJECT_DIR}/.docker/app
|
BUILD_CONTEXT: ${CI_PROJECT_DIR}/.docker/app
|
||||||
|
|
||||||
phpdoc:
|
phpdoc:
|
||||||
image:
|
image: ${PHP_IMAGE}
|
||||||
name: ${CI_DOCKER_IMAGE}
|
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "web" && $PHPDOC_DEPLOY_SSH_KEY != null
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "web" && $PHPDOC_DEPLOY_SSH_KEY != null
|
||||||
|
@ -53,7 +52,7 @@ phpdoc:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $PHPDOC_DEPLOY_SSH_KEY != null
|
- 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
|
- php82 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public
|
||||||
- mkdir -p ~/.ssh &&
|
- mkdir -p ~/.ssh &&
|
||||||
cp ${PHPDOC_DEPLOY_SSH_KEY} ~/.ssh/id_ed25519 &&
|
cp ${PHPDOC_DEPLOY_SSH_KEY} ~/.ssh/id_ed25519 &&
|
||||||
chmod 0600 ~/.ssh/id_ed25519
|
chmod 0600 ~/.ssh/id_ed25519
|
||||||
|
|
Loading…
Reference in New Issue