From b89b1ce183d1e02b1665494e8f11756a8e7ad3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=ED=9B=88=20=EB=B3=80?= Date: Thu, 1 Aug 2024 15:55:43 +0900 Subject: [PATCH] =?UTF-8?q?CI=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c42f70..02a74ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,16 +39,16 @@ version_update: if [ ${#different_names[@]} -gt 0 ]; then echo "ㅤ" && echo "ㅤ" echo "아래 항목에 대해서 CI 작업을 시작합니다!" && echo "ㅤ" - curl -i -X POST -H 'Content-Type: application/json' -d '{ - "username": "CI/CD", - "icon_url": "https://www.claranet.com/br/sites/all/assets/br/cicd-icon.svg", - "attachments": [{ - "color": "#81F781", - "author_name": "CI 진행 목록", - "author_icon": "https://www.claranet.com/br/sites/all/assets/br/cicd-icon.svg", - "text": "different_names" + curl -i -X POST -H 'Content-Type: application/json' -d "{ + \"username\": \"CI/CD\", + \"icon_url\": \"https://www.claranet.com/br/sites/all/assets/br/cicd-icon.svg\", + \"attachments\": [{ + \"color\": \"#81F781\", + \"author_name\": \"CI 진행 목록\", + \"author_icon\": \"https://www.claranet.com/br/sites/all/assets/br/cicd-icon.svg\", + \"text\": \"$different_names\" }] - }' https://chat.exem.io/hooks/d8eb7x771pdaiym8xfgju8mx8a + }" https://chat.exem.io/hooks/d8eb7x771pdaiym8xfgju8mx8a for index in "${!different_names[@]}"; do name="${different_names[$index]}" version="${different_versions[$index]}"