Update .github/workflows/deploy.yml
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -128,7 +128,7 @@ jobs:
|
|||||||
# Build JSON payload
|
# Build JSON payload
|
||||||
PAYLOAD=$(jq -n \
|
PAYLOAD=$(jq -n \
|
||||||
--arg repo "${{ github.repository }}" \
|
--arg repo "${{ github.repository }}" \
|
||||||
--arg branch "${{ github.ref_name }}" \
|
--arg branch "${{ github.head_ref || github.ref_name }}" \
|
||||||
--arg commit "${{ github.sha }}" \
|
--arg commit "${{ github.sha }}" \
|
||||||
--arg commit_short "$(echo '${{ github.sha }}' | cut -c1-7)" \
|
--arg commit_short "$(echo '${{ github.sha }}' | cut -c1-7)" \
|
||||||
--arg commit_message "${{ github.event.head_commit.message || github.event.pull_request.title || 'N/A' }}" \
|
--arg commit_message "${{ github.event.head_commit.message || github.event.pull_request.title || 'N/A' }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user