Skip to content
Snippets Groups Projects
Commit 360d7021 authored by Kwangjin Lee's avatar Kwangjin Lee
Browse files

Update .gitlab-ci.yml file

parent a0f3aea9
No related branches found
No related tags found
1 merge request!367test publish build
Pipeline #245585 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment