Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Mar 31, 2023
1 parent 561d0ee commit 9781d7b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ jobs:
- name: Read VERSION file
id: contents
run: echo "contents=$(cat README.md)" >> $$GITHUB_STATE
- name: Gets latest created release info
id: release_info
uses: jossef/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- id: set-matrix
run: |
echo "{\"embeds\":[{\"title\":\"Hello\",\"url\":\"https://www.github.com\",\"description\":\"World\"}]}" >> generated.json
echo "{\"embeds\":[{\"title\":\"New Release: ${{steps.release_info.outputs.name}}\",\"url\":\"${{steps.release_info.outputs.html_url}}\",\"description\":\"World\"}]}" >> generated.json
cat generated.json
- name: Discord Webhook Action
uses: tsickert/[email protected]
Expand Down

0 comments on commit 9781d7b

Please sign in to comment.