From 081bacb59d5958c5ff5009e280d2bb685407ced6 Mon Sep 17 00:00:00 2001 From: dogdduddy <32217176+dogdduddy@users.noreply.github.com> Date: Thu, 2 Mar 2023 20:15:38 +0900 Subject: [PATCH] Update android.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slack Webhook 연결 --- .github/workflows/android.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index e519f16f..6b1f75d1 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -24,3 +24,15 @@ jobs: run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build + + - name: action-slack + uses: 8398a7/action-slack@v3 + with: + status: ${{ job.status }} + author_name: Sloth Backend - dev + fields: repo,commit,message,author # action,eventName,ref,workflow,job,took 추가할 수 있음 + mention: here + if_mention: failure,cancelled + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required + if: always() # Pick up events even if the job fails or is canceled.