fix: yaml syntax in deploy workflow
This commit is contained in:
1 parent
0913e9d529
commit
0c0540cf59
1 file changed
+1
-8
@@ -32,14 +32,7 @@ jobs:
|
|||||||
|
|
||||||
echo "${CHANGELOG}" > /tmp/changelog.txt
|
echo "${CHANGELOG}" > /tmp/changelog.txt
|
||||||
|
|
||||||
BODY="## EpicNext-CMS ${VERSION}
|
BODY="## EpicNext-CMS ${VERSION}"$'\n\n'"### Changes"$'\n'"${CHANGELOG}"$'\n\n---\n*Automated release from Gitea Actions*'
|
||||||
|
|
||||||
### Changes
|
|
||||||
${CHANGELOG}
|
|
||||||
|
|
||||||
---
|
|
||||||
*Automated release from Gitea Actions*
|
|
||||||
"
|
|
||||||
|
|
||||||
PAYLOAD="$(printf '%s' "$BODY" | jq -Rs '{tag_name: $v, name: $v, body: ., draft: false, prerelease: false}' --arg v "${VERSION}")"
|
PAYLOAD="$(printf '%s' "$BODY" | jq -Rs '{tag_name: $v, name: $v, body: ., draft: false, prerelease: false}' --arg v "${VERSION}")"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user