From ed093f02f529a0de482c87e1111e7e3f0a12cd5f Mon Sep 17 00:00:00 2001 From: XieHaoLiang <806854015@qq.com> Date: Fri, 27 Dec 2024 09:23:12 +0800 Subject: [PATCH] fix --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65b65cb..030aa1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,8 @@ update-code-dev: GIT_STRATEGY: none script: - cd ${WEBROOT_PATH}/${PROJECT_DIR} && git pull + after_script: + - cd ${COMPOSE_PATH} && env | docker-compose exec -T -w /webroot/${WEBROOT_PATH##*/}/starapt php php artisan deploy:notice update-code-pre: rules: - if: '$CI_COMMIT_BRANCH == "web-release"'