fix(ci): 修复通知优先级被预展开 #8
@@ -34,7 +34,7 @@ variables:
|
||||
--arg source 'text-mosaic' \
|
||||
--arg title "$TITLE" \
|
||||
--arg content "$CONTENT" \
|
||||
--arg priority "${NOTIFY_PRIORITY:-}" \
|
||||
--arg priority "$NOTIFY_PRIORITY" \
|
||||
'{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' \
|
||||
-d "$PAYLOAD" \
|
||||
|
||||
Reference in New Issue
Block a user