From d55ae2c41b442b1a4523928187f4b08e9200083d Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Wed, 3 May 2023 09:19:59 -0300 Subject: [PATCH 1/2] add svc to msg --- .github/workflows/cd-swarm-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd-swarm-deploy.yml b/.github/workflows/cd-swarm-deploy.yml index 043d17fa..8ab8d80f 100644 --- a/.github/workflows/cd-swarm-deploy.yml +++ b/.github/workflows/cd-swarm-deploy.yml @@ -107,7 +107,7 @@ jobs: if: always() name: slack notification with: - MESSAGE: 'GitHub Action result: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}\n>*Previous Image:* ${{ steps.swarm-deploy.outputs.PREVIOUS_IMAGE}}\n>*New Image:* ${{ inputs.IMAGE_TAG}}' + MESSAGE: Update Service - ${{ inputs.STACK_NAME }}!\n>GitHub Action result - ${{ github.event.pull_request.html_url || github.event.head_commit.url }}\n>*Previous Image:* ${{ steps.prvimg.outputs.PREVIOUS_IMAGE }}\n>*New Image:* ${{ needs.build_staging_calling_img.outputs.IMAGE_TAG }} CHANNEL: "${{ inputs.SLACK_CHANNEL }}" env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} From 36b294a65c28d34985dbadc357c95b82891a1788 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Wed, 3 May 2023 09:22:11 -0300 Subject: [PATCH 2/2] add svc to msg --- .github/workflows/cd-swarm-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd-swarm-deploy.yml b/.github/workflows/cd-swarm-deploy.yml index 8ab8d80f..bbf35e1e 100644 --- a/.github/workflows/cd-swarm-deploy.yml +++ b/.github/workflows/cd-swarm-deploy.yml @@ -107,7 +107,7 @@ jobs: if: always() name: slack notification with: - MESSAGE: Update Service - ${{ inputs.STACK_NAME }}!\n>GitHub Action result - ${{ github.event.pull_request.html_url || github.event.head_commit.url }}\n>*Previous Image:* ${{ steps.prvimg.outputs.PREVIOUS_IMAGE }}\n>*New Image:* ${{ needs.build_staging_calling_img.outputs.IMAGE_TAG }} + MESSAGE: 'Update Service - ${{ inputs.STACK_NAME }}!\n>GitHub Action result - ${{ github.event.pull_request.html_url || github.event.head_commit.url }}\n>*Previous Image:* ${{ steps.swarm-deploy.outputs.PREVIOUS_IMAGE }}\n>*New Image:* ${{ inputs.IMAGE_TAG }}' CHANNEL: "${{ inputs.SLACK_CHANNEL }}" env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}