Skip to content

Commit

Permalink
Send zulip notification (#142)
Browse files Browse the repository at this point in the history
* Update version 2.1.1

* Changed

* adding log
  • Loading branch information
ausias-armesto authored Oct 1, 2024
1 parent bc3f9c1 commit bcc07e1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build and publish to package repository
id: publish
run: |
npm install
npx @dappnode/dappnodesdk publish patch \
Expand All @@ -21,6 +22,22 @@ jobs:
echo "DNP (DAppNode Package) built and uploaded" >> $GITHUB_STEP_SUMMARY
grep "ipfs" build.log >> $GITHUB_STEP_SUMMARY
ipfs_hash=$(grep -oP 'Release hash : \K/ipfs/\w+' build.log)
echo "ipfs_hash=$ipfs_hash" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOPER_ADDRESS: "0x7305356ad936A06c4ea5DF45AD5E5C3ff9Db818E"

- name: Send message to Zulip
uses: zulip/github-actions-zulip/send-message@v1
with:
api-key: ${{ secrets.ZULIP_API_KEY }}
email: ${{ secrets.ZULIP_EMAIL }}
organization-url: "https://hopr.zulipchat.com"
type: "stream"
to: "Releases"
topic: "main"
content: |
A new hoprd dAppNode package version is available.
- IPFS Hash: ${{ steps.publish.outputs.ipfs_hash }}
Access to your dAppNode and check for the updates

0 comments on commit bcc07e1

Please sign in to comment.