-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MYR-1769] CI/CD: upload wasm file to discord (#95)
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/')" | ||
|