Skip to content

Commit

Permalink
test no arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghlerrix committed Sep 2, 2023
1 parent 20d639e commit 5a82f1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pushUrl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit 5a82f1e

Please sign in to comment.