Skip to content

Commit 74fe0d5

Browse files
committed
Revert "Temporary disabled slack notification"
This reverts commit 6bfb427.
1 parent fb21810 commit 74fe0d5

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,19 @@ jobs:
9999
docker push ghcr.io/ruby/ruby:$tag
100100
done
101101
102+
- uses: ruby/action-slack@v3.2.2
103+
with:
104+
payload: |
105+
{
106+
"attachments": [{
107+
"text": "${{ job.status }}: ${{ matrix.ubuntu_version }} ${{ matrix.arch }} ${{ matrix.debug_suffix }} ${{ matrix.dev_suffix }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>",
108+
"color": "danger"
109+
}]
110+
}
111+
env:
112+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
113+
if: failure()
114+
102115
deploy_multiarch:
103116
strategy:
104117
matrix:
@@ -146,3 +159,16 @@ jobs:
146159
ruby_version="${{ env.ruby_version }}" \
147160
ubuntu_version="${{ matrix.ubuntu_version }}" \
148161
image_version_suffix=${{ matrix.image_version_suffix }}
162+
163+
- uses: ruby/action-slack@v3.2.2
164+
with:
165+
payload: |
166+
{
167+
"attachments": [{
168+
"text": "${{ job.status }}: ${{ matrix.registry_name }} ${{ matrix.ubuntu_version }} ${{ matrix.image_version_suffix }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>",
169+
"color": "danger"
170+
}]
171+
}
172+
env:
173+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
174+
if: failure()

0 commit comments

Comments
 (0)