Skip to content

Commit

Permalink
Fixed prod deployment notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mluypaert committed Nov 24, 2023
1 parent 785c83f commit d7090b3
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/github-release-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,26 +56,6 @@ jobs:
needs: [build-release-image]
runs-on: ubuntu-20.04
steps:
- name: Slack Notification
uses: tokorom/action-slack-incoming-webhook@main
env:
INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
text: "Auto Deployment to mati production initiated"
attachments: |
[
{
"color": "good",
"author_name": "${{ github.actor }}",
"author_icon": "${{ github.event.sender.avatar_url }}",
"fields": [
{
"title": "GitHub Actions URL",
"value": "${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}"
}
]
}
]
- name: Check out repository code
uses: actions/checkout@v3
- name: Save mati app version to be deployed in EB env variables through config file
Expand All @@ -97,6 +77,26 @@ jobs:
needs: [generate-deployment-package]
runs-on: ubuntu-20.04
steps:
- name: Slack Notification
uses: tokorom/action-slack-incoming-webhook@main
env:
INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
text: "Auto Deployment to mati production initiated"
attachments: |
[
{
"color": "good",
"author_name": "${{ github.actor }}",
"author_icon": "${{ github.event.sender.avatar_url }}",
"fields": [
{
"title": "GitHub Actions URL",
"value": "${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}"
}
]
}
]
- name: Fetch deployment package from cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit d7090b3

Please sign in to comment.