diff --git a/.github/workflows/daily_reports.yaml b/.github/workflows/daily_reports.yaml index 78eabb24a9..00fc18507e 100644 --- a/.github/workflows/daily_reports.yaml +++ b/.github/workflows/daily_reports.yaml @@ -200,5 +200,17 @@ jobs: steps: - name: Post message to slack env: - SLACK_WEBHOOK: ${{ secrets.TEST_CHANNEL_SLACK }} - run: sh .github/scripts/publish_link_flamegraphs.sh $SLACK_WEBHOOK + SLACK_WEBHOOKS: > + ${{ github.event_name == 'workflow_dispatch' + && secrets.TEST_CHANNEL_SLACK + || format( + '{0} {1} {2}', + secrets.ETHREX_L1_SLACK_WEBHOOK, + secrets.ETHREX_L2_SLACK_WEBHOOK, + secrets.LEVM_SLACK_WEBHOOK + ) + }} + run: | + for webhook in $SLACK_WEBHOOKS; do + sh .github/scripts/publish_link_flamegraphs.sh "$webhook" + done