File tree Expand file tree Collapse file tree 3 files changed +15
-47
lines changed
actions/send-wire-message Expand file tree Collapse file tree 3 files changed +15
-47
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -353,19 +353,16 @@ jobs:
353353 needs : create_gh_release
354354
355355 steps :
356- - name : Checkout repository for local actions
357- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
358- with :
359- fetch-depth : 1
360-
361356 - name : Announce staging release
362357 if : ${{ needs.create_gh_release.outputs.release_url }}
363- uses : ./.github/actions/send-wire-message
358+ uses : 8398a7/action-slack@293f8dc0f9731ac35321056641cdef895f4f65f8
359+ env :
360+ SLACK_WEBHOOK_URL : ${{ secrets.WIRE_DEPLOYOHOLICS_WEBHOOK_URL }}
364361 with :
365- email : ${{secrets.WIRE_BOT_EMAIL}}
366- password : ${{secrets.WIRE_BOT_PASSWORD}}
367- conversation : ' 697c93e8-0b13-4204-a35e-59270462366a '
368- message : ' New release done ([full changelog]( ${{ needs.create_gh_release.outputs.release_url }})) 🚀 '
362+ status : success
363+ text : |
364+ ✅ New release done ✅
365+ **Changelog:** ${{ needs.create_gh_release.outputs.release_url }}
369366
370367 notify_deployment_failure :
371368 name : ' Notify deployment failure to wire chats'
Original file line number Diff line number Diff line change @@ -146,18 +146,16 @@ jobs:
146146 if : ${{ needs.deploy_to_production.result == 'success' }}
147147
148148 steps :
149- - name : Checkout repository for local actions
150- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
151- with :
152- fetch-depth : 1
153-
154149 - name : Announce production redeploy
155- uses : ./.github/actions/send-wire-message
150+ uses : 8398a7/action-slack@293f8dc0f9731ac35321056641cdef895f4f65f8
151+ env :
152+ SLACK_WEBHOOK_URL : ${{ secrets.WIRE_DEPLOYOHOLICS_WEBHOOK_URL }}
156153 with :
157- email : ${{ secrets.WIRE_BOT_EMAIL }}
158- password : ${{ secrets.WIRE_BOT_PASSWORD }}
159- conversation : ' 697c93e8-0b13-4204-a35e-59270462366a'
160- message : ' Production redeploy completed for tag ${{ needs.validate_request.outputs.tag }} by ${{ github.actor }}. Commit: [${{ needs.build_artifact.outputs.commit_sha }}](${{ needs.build_artifact.outputs.commit_url }}) — ${{ needs.build_artifact.outputs.commit_subject }}'
154+ status : success
155+ text : |
156+ ✅ Production redeploy completed for tag ${{ needs.validate_request.outputs.tag }} ✅
157+ **Triggered by:** ${{ github.actor }}
158+ **Commit:** [${{ needs.build_artifact.outputs.commit_sha }}](${{ needs.build_artifact.outputs.commit_url }}) — ${{ needs.build_artifact.outputs.commit_subject }}
161159
162160 notify_redeploy_failure :
163161 name : Notify redeploy failure
You can’t perform that action at this time.
0 commit comments