Skip to content

Commit

Permalink
chore: ci: Fix link unfurling in Slack message
Browse files Browse the repository at this point in the history
  • Loading branch information
dsocolobsky committed Jan 17, 2025
1 parent ff0553f commit 8262e6b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/scripts/publish_link_flamegraphs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ curl -XPOST -H "Content-type: application/json" -d '{
"type": "header",
"text": {
"type": "plain_text",
"text": "Daily Flamegraph Report"
"text": "🔥 Daily Flamegraph Report"
}
},
{
Expand All @@ -14,10 +14,12 @@ curl -XPOST -H "Content-type: application/json" -d '{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "🔥 Flamegraphs are available at *<https://lambdaclass.github.io/ethrex/|lambdaclass.github.io/ethrex/>*\n
• *<https://lambdaclass.github.io/ethrex/flamegraph_ethrex.svg/flamegraph_ethrex.svg|Ethrex Flamegraph>*\n
• *<https://lambdaclass.github.io/ethrex/flamegraph_reth.svg/flamegraph_reth.svg|Reth Flamegraph>*\n"
"text": "Flamegraphs are available at *<https://lambdaclass.github.io/ethrex/|https://lambdaclass.github.io/ethrex/>*\n
• *<https://lambdaclass.github.io/ethrex/flamegraph_ethrex.svg/flamegraph_ethrex.svg|Ethrex>*\n
• *<https://lambdaclass.github.io/ethrex/flamegraph_reth.svg/flamegraph_reth.svg|Reth>*\n"
}
}
]
},
],
"unfurl_links": true,
"unfurl_media": true
}' "$1"
2 changes: 1 addition & 1 deletion .github/workflows/flamegraph_reporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

on:
push:
branches: [ "main" ]
branches: [ "main", "automate-perf-tests" ]
workflow_dispatch:

env:
Expand Down
4 changes: 2 additions & 2 deletions pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<meta content="Ethrex flamegraph comparison" property="og:title">
<meta content="Last updated {{LAST_UPDATE}}" property="og:description">
<meta property="og:image" content="flamegraph_ethrex.svg/flamegraph_ethrex.svg"/>
<meta name="twitter:label1" content="Ethrex time"/>
<meta name="twitter:label1" content="🕒Ethrex"/>
<meta name="twitter:data1" content="{{ETHREX_TIME}}"/>
<meta name="twitter:label2" content="Reth time"/>
<meta name="twitter:label2" content="🕒Reth"/>
<meta name="twitter:data2" content="{{RETH_TIME}}"/>
</head>
<body>
Expand Down

0 comments on commit 8262e6b

Please sign in to comment.