Skip to content

Commit

Permalink
ci: Announce release in Slack
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 13, 2024
1 parent bb41792 commit a7f7b7f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,28 @@ jobs:
- uses: actions/checkout@v4
- run: curl -L ${{ github.event.release.tarball_url }} > source.tar.gz
- uses: filecoin-station/publish-zinnia-module-action@v0
id: publish
with:
source: source.tar.gz
w3up-private-key: ${{ secrets.W3UP_PRIVATE_KEY }}
w3up-proof: ${{ secrets.W3UP_PROOF }}
w3name-private-key: ${{ secrets.W3NAME_PRIVATE_KEY }}
w3name-revision: ${{ secrets.W3NAME_REVISION }}
- uses: slackapi/[email protected]
with:
channel-id: spark-public
payload: |
{
"text": "SPARK checker version ${{ github.event.release.tag_name }} released",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "<Source code|${{ github.server_url }}/${{ github.repository }}/tree/${{ github.event.release.tag_name }}> published to IPFS as <https://${{ steps.publish.outputs.cid }}.ipfs.w3s.link|${{ steps.publish.outputs.cid }}>"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_SPARK_PUBLIC_TOKEN }}

0 comments on commit a7f7b7f

Please sign in to comment.