From 5a82f1e5831579ffa1f91f2f57ac6965298c69b0 Mon Sep 17 00:00:00 2001 From: Ghlerrix Date: Sat, 2 Sep 2023 15:31:30 +0800 Subject: [PATCH] test no arg --- .github/workflows/pushUrl.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pushUrl.yml b/.github/workflows/pushUrl.yml index 945aa7c5..a4d908e4 100644 --- a/.github/workflows/pushUrl.yml +++ b/.github/workflows/pushUrl.yml @@ -44,9 +44,15 @@ jobs: if [ -n "$URL" ]; then if [ -n "$BAIDU_TOKEN" ]; then python pushUrl.py --url ${{ secrets.URL }} --baidu_token ${{ secrets.BAIDU_TOKENs }} + else + echo "请前往 Github Action Secrets 配置 BAIDU_TOKEN:" + echo "详情参见: 'https://ghlcode.cn/fe032806-5362-4d82-b746-a0b26ce8b9d9'" fi if [ -n "$BAIDU_TOKEN" ]; then python pushUrl.py --url ${{ secrets.URL }} --bing_api_key ${{ secrets.BING_API_KEYs }} + else + echo "请前往 Github Action Secrets 配置 BING_API_KEY:" + echo "详情参见: 'https://ghlcode.cn/fe032806-5362-4d82-b746-a0b26ce8b9d9'" fi else echo "请前往 Github Action Secrets 配置 URL:"