Skip to content

Commit

Permalink
fix: test release
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Feb 5, 2024
1 parent af0f7cd commit 30bd7e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ jobs:

# ====================== post release ======================

- name: Webhook message from workflow_dispatch
- name: Send webhook message
uses: joelwmale/webhook-action@master
env:
CHANGELOG: ${{ github.event.inputs.changelog != '' && format('{0}\n\n\n', github.event.inputs.changelog) || '' }}
CHANGELOG: ${{ github.event.inputs.changelog != '' && format('## Frontend changelog \n{0}\n\n\n', github.event.inputs.changelog) || '' }}
with:
url: ${{ secrets.WEBHOOK_URL }}
headers: '{"Content-Type": "application/json"}'
body: '{"msgtype":"markdown","markdown":{"content":"${{ env.RELEASE_NOTES }}## Frontend changelog \n${{ env.CHANGELOG }}Check it out now \ud83d\udc49\ud83c\udffb [v${{ env.NEXT_VERSION }}](${{ env.PYPI_URL }})"}}'
body: '{"msgtype":"markdown","markdown":{"content":"${{ env.RELEASE_NOTES }}${{ env.CHANGELOG }}Check it out now \ud83d\udc49\ud83c\udffb [v${{ env.NEXT_VERSION }}](${{ env.PYPI_URL }})"}}'

0 comments on commit 30bd7e3

Please sign in to comment.