SCF add TUAN_ACTIVEID secret
This commit is contained in:
2
.github/workflows/deploy_tencent_scf.yml
vendored
2
.github/workflows/deploy_tencent_scf.yml
vendored
@ -79,6 +79,7 @@ jobs:
|
|||||||
JD_JXD_EXCHANGE: ${{ secrets.JD_JXD_EXCHANGE}}
|
JD_JXD_EXCHANGE: ${{ secrets.JD_JXD_EXCHANGE}}
|
||||||
JXNC_NOTIFY_LEVEL: ${{ secrets.JXNC_NOTIFY_LEVEL}}
|
JXNC_NOTIFY_LEVEL: ${{ secrets.JXNC_NOTIFY_LEVEL}}
|
||||||
PURCHASE_SHOPS: ${{ secrets.PURCHASE_SHOPS}}
|
PURCHASE_SHOPS: ${{ secrets.PURCHASE_SHOPS}}
|
||||||
|
TUAN_ACTIVEID: ${{ secrets.TUAN_ACTIVEID}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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 [ $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 [ $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 [ $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
|
cat serverless.yml
|
||||||
env
|
env
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user