3 Commits

Author SHA1 Message Date
2cb52a0a80 优化通知步骤日志输出 2026-01-29 19:43:22 +08:00
0c4a5bbee6 Merge pull request #3 from hanxuanyu/bugfix/docker-compose-config-exception
添加通知步骤到构建工作流
2026-01-29 19:12:51 +08:00
3601e59923 Merge pull request #2 from hanxuanyu/bugfix/docker-compose-config-exception
调整默认的配置目录,改为data/config/config.yaml
2026-01-29 09:18:33 +08:00

View File

@@ -44,9 +44,10 @@ jobs:
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
if [ -n "$line" ]; then
if [[ "$line" =~ ^[0-9] ]]; then
echo "Pausing for $line ms..."
echo "Pausing for $line ms....."
sleep "$(awk "BEGIN {print $line/1000}")" || true
elif [[ "$line" == curl* ]]; then
echo "Response:"
eval "$line -w \"\\nHTTP Status: %{http_code}\\n\"" || true
else
eval "$line" || true