From fb88969748a6a560b5dd9661d2574f001f52b7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=87=E1=85=A1=E1=86=A8=E1=84=83=E1=85=A1=E1=84=8B?= =?UTF-8?q?=E1=85=A8?= Date: Sun, 30 Jun 2024 15:16:48 +0900 Subject: [PATCH] =?UTF-8?q?fix(github-action)=20:=20slack=20=EC=95=8C?= =?UTF-8?q?=EB=A6=BC=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 20 +++++--------------- .github/workflows/gradle-build.yml | 11 ----------- 2 files changed, 5 insertions(+), 26 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 47fe7c9..184935f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,11 +2,11 @@ name: CD with naver cloud platform on: workflow_dispatch: - inputs: - tags: - description: 'Deploy Tags' - required: false - type: boolean + inputs: + tags: + description: 'Deploy Tags' + required: false + type: boolean push: branches: [ "main" ] @@ -72,13 +72,3 @@ jobs: cd ./app/docker sudo docker-compose up -d sudo docker image prune -f - - - name: action-slack - uses: 8398a7/action-slack@v3 - with: - status: ${{ job.status }} - author_name: Moyeo Moyeo - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required - if: always() # Pick up events even if the job fails or is canceled. diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index b0c094e..3406034 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -31,14 +31,3 @@ jobs: - name: Gradle Build Action run: SPRING_PROFILES_ACTIVE=[test] ./gradlew test - - - name: action-slack - uses: 8398a7/action-slack@v3 - with: - status: ${{ job.status }} - author_name: Moyeo Moyeo - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required - if: always() # Pick up events even if the job fails or is canceled. -