mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 07:19:33 +08:00
GitHub Actions: 替换通知环境变量来源为 vars 提高配置灵活性
This commit is contained in:
2
.github/workflows/verify.yml
vendored
2
.github/workflows/verify.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user