1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-09-18 21:12:24 +02:00

Add commit message

This commit is contained in:
Allan Wang 2021-09-13 22:49:10 -07:00
parent a119afcbec
commit 8b6c501693
No known key found for this signature in database
GPG Key ID: 69D90B885D405BDB

View File

@ -199,10 +199,10 @@ jobs:
uses: Sniddl/discord-commits@v1.3
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
last-commit-only: true
# Frost Blue: 0xff3b5998 / 3889560
# https://github.com/octokit/webhooks
embed: '{"title":"Frost v{{ env.RELEASE_ID_NUMBER }}","color":3889560,"url":"{{ commit.url }}","author":{"name":"{{ github.context.payload.repository.owner.login }}","icon_url":"{{ github.context.payload.repository.owner.avatar_url }}"},"fields":[{"name":"Test Release","value":"{{ env.TEST_RELEASE_URL }}"},{"name":"Action CI","value":"https://github.com/{{ github.context.payload.repository.full_name }}/actions/runs/{{ env.RUN_ID }}"}]}'
last-commit-only: true
embed: '{"title":"Frost v{{ env.RELEASE_ID_NUMBER }}","color":3889560,"url":"{{ commit.url }}","author":{"name":"{{ github.context.payload.repository.owner.login }}","icon_url":"{{ github.context.payload.repository.owner.avatar_url }}"},"fields":[{"name":"Message","value":"{{ commit.title }}"},{"name":"Test Release","value":"{{ env.TEST_RELEASE_URL }}"},{"name":"Action CI","value":"https://github.com/{{ github.context.payload.repository.full_name }}/actions/runs/{{ env.RUN_ID }}"}]}'
env:
RUN_ID: ${{ github.RUN_ID }}