From 4df527584b6213bd21b029f88b041d46301f69e0 Mon Sep 17 00:00:00 2001 From: DoveBoy <393366046@qq.com> Date: Fri, 28 May 2021 18:14:35 +0800 Subject: [PATCH] SCF add TUAN_ACTIVEID 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 aa6dc698..236d043d 100644 --- a/.github/workflows/deploy_tencent_scf.yml +++ b/.github/workflows/deploy_tencent_scf.yml @@ -79,6 +79,7 @@ jobs: JD_JXD_EXCHANGE: ${{ secrets.JD_JXD_EXCHANGE}} JXNC_NOTIFY_LEVEL: ${{ secrets.JXNC_NOTIFY_LEVEL}} PURCHASE_SHOPS: ${{ secrets.PURCHASE_SHOPS}} + TUAN_ACTIVEID: ${{ secrets.TUAN_ACTIVEID}} steps: - name: Checkout @@ -172,6 +173,7 @@ jobs: 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; + if [ $TUAN_ACTIVEID ]; then sed -i "/variables/a\ TUAN_ACTIVEID: $TUAN_ACTIVEID" serverless.yml; fi; cat serverless.yml env