From cf3cdc6d6bbdf7fb2bf2420665f7275f883e104f Mon Sep 17 00:00:00 2001 From: DoveBoy <393366046@qq.com> Date: Thu, 20 May 2021 19:58:49 +0800 Subject: [PATCH] SCF add PURCHASE_SHOPS secret --- .github/workflows/deploy_tencent_scf.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy_tencent_scf.yml b/.github/workflows/deploy_tencent_scf.yml index 2fb7fbd3..86e3268c 100644 --- a/.github/workflows/deploy_tencent_scf.yml +++ b/.github/workflows/deploy_tencent_scf.yml @@ -77,6 +77,7 @@ jobs: CFD_NOTIFY_CONTROL: ${{ secrets.CFD_NOTIFY_CONTROL}} JD_JXD_EXCHANGE: ${{ secrets.JD_JXD_EXCHANGE}} JXNC_NOTIFY_LEVEL: ${{ secrets.JXNC_NOTIFY_LEVEL}} + PURCHASE_SHOPS: ${{ secrets.PURCHASE_SHOPS}} steps: - name: Checkout @@ -168,6 +169,7 @@ jobs: if [ $CFD_NOTIFY_CONTROL ]; then sed -i "/variables/a\ CFD_NOTIFY_CONTROL: $CFD_NOTIFY_CONTROL" serverless.yml; fi; if [ $JD_JXD_EXCHANGE ]; then sed -i "/variables/a\ JD_JXD_EXCHANGE: $JD_JXD_EXCHANGE" serverless.yml; fi; if [ $JXNC_NOTIFY_LEVEL ]; then sed -i "/variables/a\ JXNC_NOTIFY_LEVEL: $JXNC_NOTIFY_LEVEL" serverless.yml; fi; + if [ $PURCHASE_SHOPS ]; then sed -i "/variables/a\ PURCHASE_SHOPS: $PURCHASE_SHOPS" serverless.yml; fi; cat serverless.yml env