SCF add TUAN_ACTIVEID secret

This commit is contained in:
DoveBoy
2021-05-28 18:14:35 +08:00
committed by Gitee
parent 962a4b41e7
commit 4df527584b

View File

@ -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