diff --git a/.github/workflows/deploy_tencent_scf.yml b/.github/workflows/deploy_tencent_scf.yml index 5e37b089..d40a8346 100644 --- a/.github/workflows/deploy_tencent_scf.yml +++ b/.github/workflows/deploy_tencent_scf.yml @@ -25,7 +25,6 @@ jobs: - name: "将Secrets里面配置的变量添加到severless.yml里面作为环境变量" run: | - if [ ${{ secrets.JD_COOKIE }} ]; then sed -i "/variables/a\ JD_COOKIE: ${{ secrets.JD_COOKIE }}" serverless.yml; fi; if [ ${{ secrets.JD_COOKIE}} ]; then sed -i "/variables/a\ JD_COOKIE: ${{ secrets.JD_COOKIE}}" serverless.yml; fi; if [ ${{ secrets.JD_BEAN_STOP}} ]; then sed -i "/variables/a\ JD_BEAN_STOP: ${{ secrets.JD_BEAN_STOP}}" serverless.yml; fi; if [ ${{ secrets.JD_BEAN_SIGN_STOP_NOTIFY}} ]; then sed -i "/variables/a\ JD_BEAN_SIGN_STOP_NOTIFY: ${{ secrets.JD_BEAN_SIGN_STOP_NOTIFY}}" serverless.yml; fi;