From b759f2ebe9827e99c9d807584d9f24f2fdfe7d54 Mon Sep 17 00:00:00 2001 From: Ghlerrix Date: Sat, 2 Sep 2023 15:34:33 +0800 Subject: [PATCH] test no arg --- .github/workflows/pushUrl.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pushUrl.yml b/.github/workflows/pushUrl.yml index fb366d3f..c69fbca5 100644 --- a/.github/workflows/pushUrl.yml +++ b/.github/workflows/pushUrl.yml @@ -43,13 +43,13 @@ jobs: run: | if [ -n "$URL" ]; then if [ -n "$BAIDU_TOKEN" ]; then - python pushUrl.py --url ${{ secrets.URL }} --baidu_token ${{ secrets.BAIDU_TOKENs }} + python pushUrl.py --url $URL --baidu_token $BAIDU_TOKEN else echo "请前往 Github Action Secrets 配置 BAIDU_TOKEN:" echo "详情参见: 'https://www.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 }} + if [ -n "$BING_API_KEY" ]; then + python pushUrl.py --url $URL --bing_api_key $BING_API_KEY else echo "请前往 Github Action Secrets 配置 BING_API_KEY:" echo "详情参见: 'https://www.ghlcode.cn/fe032806-5362-4d82-b746-a0b26ce8b9d9'"