GitHub Actions: 替换通知环境变量来源为 vars 提高配置灵活性

This commit is contained in:
2026-01-29 17:24:38 +08:00
parent 1ca3d15c2f
commit 9360bd0131

View File

@@ -42,7 +42,7 @@ jobs:
- name: Notification
if: success()
env:
NOTIFY_CURLS: ${{ secrets.NOTIFY_CURLS }}
NOTIFY_CURLS: ${{ vars.NOTIFY_CURLS }}
run: |
if [ -n "$NOTIFY_CURLS" ]; then
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do