Skip to content

Commit f7ecf83

Browse files
committed
chore: ci: Actually post links to slack
1 parent e00c153 commit f7ecf83

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/daily_reports.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,17 @@ jobs:
200200
steps:
201201
- name: Post message to slack
202202
env:
203-
SLACK_WEBHOOK: ${{ secrets.TEST_CHANNEL_SLACK }}
204-
run: sh .github/scripts/publish_link_flamegraphs.sh $SLACK_WEBHOOK
203+
SLACK_WEBHOOKS: >
204+
${{ github.event_name == 'workflow_dispatch'
205+
&& secrets.TEST_CHANNEL_SLACK
206+
|| format(
207+
'{0} {1} {2}',
208+
secrets.ETHREX_L1_SLACK_WEBHOOK,
209+
secrets.ETHREX_L2_SLACK_WEBHOOK,
210+
secrets.LEVM_SLACK_WEBHOOK
211+
)
212+
}}
213+
run: |
214+
for webhook in $SLACK_WEBHOOKS; do
215+
sh .github/scripts/publish_link_flamegraphs.sh "$webhook"
216+
done

0 commit comments

Comments
 (0)