Skip to content

Commit

Permalink
DISCORD_WEBHOOKPRODUCTION_DISCORD_WEBHOOK
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroshiba <[email protected]>
  • Loading branch information
qryxip and Hiroshiba authored Sep 2, 2024
1 parent 21fdd30 commit 281bc23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,15 @@ jobs:
if: failure() && steps.build.outcome == 'failure' && env.ONNXRUNTIME_NAME == 'voicevox_onnxruntime'
run: |
curl \
"$DISCORD_WEBHOOK" \
"$PRODUCTION_DISCORD_WEBHOOK" \
-sf \
-F 'payload_json={"username":"onnxruntime-builder"}' \
-F file1=@${{ matrix.artifact_name }}_stdout.txt \
-F file2=@${{ matrix.artifact_name }}_stderr.txt \
> /dev/null
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
PRODUCTION_DISCORD_WEBHOOK: ${{ secrets.PRODUCTION_DISCORD_WEBHOOK}}


- name: Inspect the build directory for debug

Expand Down

0 comments on commit 281bc23

Please sign in to comment.