fix: variable expansion for curl

This commit is contained in:
Roman 2024-01-17 19:19:16 +08:00
parent d565a1759f
commit 563d4f0a54

View File

@ -79,5 +79,5 @@ jobs:
echo "- **Additonal Nodes**: ${{ env.ADDITIONAL_NODES}}" >> $GITHUB_STEP_SUMMARY
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
echo "Allure report will be available at: https://waku-org.github.io/waku-interop-tests/${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY
curl -H "Content-Type: application/json" -X POST -d '{"username": "${{ github.workflow }}", "content": "$GITHUB_STEP_SUMMARY" }' ${{ secrets.DISCORD_TEST_REPORTS_WH }}
curl -H "Content-Type: application/json" -X POST -d '{"username": "${{ github.workflow }}", "content": "${GITHUB_STEP_SUMMARY}" }' --url '${{ secrets.DISCORD_TEST_REPORTS_WH }}'