From 71a16fdf7a45f5a10c063a08a1918e5781497333 Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Tue, 5 Mar 2024 11:44:34 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20CI=20=EC=BD=94=EB=93=9C=EC=97=90=20?= =?UTF-8?q?=EC=84=B1=EA=B3=B5=20/=20=EC=8B=A4=ED=8C=A8=20Actions=20Status?= =?UTF-8?q?=20Discord=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b5854f9..0d4465fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,29 @@ jobs: - name: Build with Gradle run: ./gradlew clean build -x test + + - name: MISO Back CI Discord Notification + uses: sarisia/actions-status-discord@v1 + if: ${{ success() }} + with: + title: ✅ MISO-Back-CI 성공! ✅ + webhook: ${{ secrets.MISO_DISCORD_WEBHOOK }} + status: ${{ job.status }} + image: ${{ secrets.SUCCESS_IMAGE }} + description: Happy, happy, HAPPY! + color: 00FF00 + url: "https://github.com/sarisia/actions-status-discord" + username: MISO CI 봇 + + - name: MISO Back CI Discord Notification + uses: sarisia/actions-status-discord@v1 + if: ${{ failure() }} + with: + title: ❗ MISO-Back-CI 실패! ❗️ + webhook: ${{ secrets.MISO_DISCORD_WEBHOOK }} + status: ${{ job.status }} + image: ${{ secrets.FAILED_IMAGE }} + description: Despair + color: 00FF00 + url: "https://github.com/sarisia/actions-status-discord" + username: MISO CI 봇 \ No newline at end of file