From 360d7021ba33f91e0882b2c053c9badbd2514ede Mon Sep 17 00:00:00 2001 From: Kwangjin Lee <k.lee-5@student.tudelft.nl> Date: Fri, 30 Aug 2024 17:22:36 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 64e30edc..c7861ca1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,7 @@ build-book: - book/_build/html - stdout.log - stderr.log + expire_in: 1 week rules: - if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "publish" - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "publish" @@ -54,7 +55,8 @@ deploy-draft: "status": "success", "ref": "main" }, - "build_id": "'$CI_JOB_ID'" + "build_id": "'$CI_JOB_ID'", + "build_status": "success" }' environment: name: draft @@ -76,7 +78,8 @@ deploy-production: "status": "success", "ref": "publish" }, - "build_id": "'$CI_JOB_ID'" + "build_id": "'$CI_JOB_ID'", + "build_status": "success" }' environment: name: production -- GitLab