Skip to content

Commit

Permalink
chore: ci: Actually post links to slack
Browse files Browse the repository at this point in the history
  • Loading branch information
dsocolobsky committed Jan 17, 2025
1 parent e00c153 commit f7ecf83
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/daily_reports.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f7ecf83

Please sign in to comment.