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