From a38137a7defd1a41a5f5438ef8fe0d5becff1982 Mon Sep 17 00:00:00 2001 From: DoveBoy <393366046@qq.com> Date: Wed, 9 Jun 2021 19:39:28 +0800 Subject: [PATCH] SCF add HELP_AUTHOT 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 236d043d..ea7949db 100644 --- a/.github/workflows/deploy_tencent_scf.yml +++ b/.github/workflows/deploy_tencent_scf.yml @@ -80,6 +80,7 @@ jobs: JXNC_NOTIFY_LEVEL: ${{ secrets.JXNC_NOTIFY_LEVEL}} PURCHASE_SHOPS: ${{ secrets.PURCHASE_SHOPS}} TUAN_ACTIVEID: ${{ secrets.TUAN_ACTIVEID}} + HELP_AUTHOR: ${{ secrets.HELP_AUTHOR}} steps: - name: Checkout @@ -174,6 +175,7 @@ jobs: 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; + if [ $HELP_AUTHOR ]; then sed -i "/variables/a\ HELP_AUTHOR: $HELP_AUTHOR" serverless.yml; fi; cat serverless.yml env