Merge pull request 'fix(ci): 修复通知优先级被预展开' (#8) from fix/woodpecker-success-priority into main
ci/woodpecker/push/build-image Pipeline was successful
ci/woodpecker/push/build-image Pipeline was successful
This commit was merged in pull request #8.
This commit is contained in:
@@ -34,7 +34,7 @@ variables:
|
|||||||
--arg source 'text-mosaic' \
|
--arg source 'text-mosaic' \
|
||||||
--arg title "$TITLE" \
|
--arg title "$TITLE" \
|
||||||
--arg content "$CONTENT" \
|
--arg content "$CONTENT" \
|
||||||
--arg priority "${NOTIFY_PRIORITY:-}" \
|
--arg priority "$NOTIFY_PRIORITY" \
|
||||||
'{source: $source, title: $title, content: $content} + (if $priority == "" then {} else {priority: $priority} end)')
|
'{source: $source, title: $title, content: $content} + (if $priority == "" then {} else {priority: $priority} end)')
|
||||||
curl -sS --fail-with-body --show-error -X POST -H 'content-type: application/json' \
|
curl -sS --fail-with-body --show-error -X POST -H 'content-type: application/json' \
|
||||||
-d "$PAYLOAD" \
|
-d "$PAYLOAD" \
|
||||||
|
|||||||
Reference in New Issue
Block a user