Skip to content

Commit ec8957f

Browse files
committed
Update CI config
1 parent 5702405 commit ec8957f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,17 @@ jobs:
5454
changelog="${changelog//$'\r'/'%0D'}"
5555
echo "::set-output name=latestChangelog::$changelog"
5656
57+
- name: Github Release
58+
id: release
59+
uses: softprops/action-gh-release@v1
60+
with:
61+
body: "${{steps.changelog.outputs.latestChangelog}}"
62+
tag_name: "${{fromJson(steps.package-json.outputs.packageJson).version}}"
63+
5764
- name: Discord Message
5865
uses: tsickert/discord-webhook@v4.0.0
5966
with:
6067
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
61-
embed-title: "Update available [${{fromJson(steps.package-json.outputs.packageJson).version}}]"
68+
embed-title: "[Update available [${{fromJson(steps.package-json.outputs.packageJson).version}}]](${{steps.release.outputs.url}})"
6269
embed-description: "${{steps.changelog.outputs.latestChangelog}}"
70+
token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)