mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 14:49:34 +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
|
- name: Notification
|
||||||
if: success()
|
if: success()
|
||||||
env:
|
env:
|
||||||
NOTIFY_CURLS: ${{ secrets.NOTIFY_CURLS }}
|
NOTIFY_CURLS: ${{ vars.NOTIFY_CURLS }}
|
||||||
run: |
|
run: |
|
||||||
if [ -n "$NOTIFY_CURLS" ]; then
|
if [ -n "$NOTIFY_CURLS" ]; then
|
||||||
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
|
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
|
||||||
|
|||||||
Reference in New Issue
Block a user