Skip to content

Commit

Permalink
[MYR-1769] CI/CD: upload wasm file to discord (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
meziaris authored Feb 24, 2022
1 parent ef63b1c commit f7e9ba8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,21 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Send WASM to Discord
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
username: "DevOps Bot"
avatar-url: ${{ secrets.LOGO_URL }}
embed-title: New build wasm
content: "<@813609814650388491> <@739126196469497989>"
embed-description: "Build success on commit sha `${{ needs.compute-build-info.outputs.sha_short }}`"
filename: "./target/release/wbuild/myriad-runtime/myriad_runtime.compact.compressed.wasm"
embed-color: 3878306
embed-footer-text: "Myriad DevOps"
embed-footer-icon-url: ${{ secrets.LOGO_URL }}
embed-image-url: ${{ secrets.BANNER_URL }}
# publish-draft-release
- name: Build changelog
if: "startsWith(github.ref, 'refs/tags/')"
Expand Down

0 comments on commit f7e9ba8

Please sign in to comment.