Compare commits

1 Commits

Author SHA1 Message Date
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

@@ -35,24 +35,3 @@ jobs:
- name: Build Go - name: Build Go
run: go build -v . run: go build -v .
- name: Notification
if: success()
env:
NOTIFY_CURLS: ${{ secrets.NOTIFY_CURLS }}
run: |
if [ -n "$NOTIFY_CURLS" ]; then
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
if [ -n "$line" ]; then
if [[ "$line" =~ ^[0-9] ]]; then
echo "Pausing for $line ms..."
sleep "$(awk "BEGIN {print $line/1000}")" || true
elif [[ "$line" == curl* ]]; then
eval "$line -w \"\\nHTTP Status: %{http_code}\\n\"" || true
else
eval "$line" || true
fi
echo ""
fi
done
fi