[fix] 修复pushUrl未配置相关Secrets报错

之前的修复版本未考虑充分,这次从yml中进行空值判断
This commit is contained in:
Ghlerrix
2023-09-02 15:37:35 +08:00
parent d288dccee6
commit e071c8f6c0

View File

@@ -38,7 +38,7 @@ jobs:
- name: Push
env:
URL: ${{ secrets.URL }}
BAIDU_TOKEN: ${{ secrets.BAIDU_TOKENs }}
BAIDU_TOKEN: ${{ secrets.BAIDU_TOKEN }}
BING_API_KEY: ${{ secrets.BING_API_KEY }}
run: |
if [ -n "$URL" ]; then