SCF增加京喜农场通知控制secret
SCF增加京喜农场通知控制secret
This commit is contained in:
2
.github/workflows/deploy_tencent_scf.yml
vendored
2
.github/workflows/deploy_tencent_scf.yml
vendored
@ -70,6 +70,7 @@ jobs:
|
||||
JDFACTORY_FORBID_ACCOUNT: ${{ secrets.JDFACTORY_FORBID_ACCOUNT}}
|
||||
CFD_NOTIFY_CONTROL: ${{ secrets.CFD_NOTIFY_CONTROL}}
|
||||
JD_JXD_EXCHANGE: ${{ secrets.JD_JXD_EXCHANGE}}
|
||||
JXNC_NOTIFY_LEVEL: ${{ secrets.JXNC_NOTIFY_LEVEL}}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -154,6 +155,7 @@ jobs:
|
||||
if [ $JDFACTORY_FORBID_ACCOUNT ]; then sed -i "/variables/a\ JDFACTORY_FORBID_ACCOUNT: $JDFACTORY_FORBID_ACCOUNT" serverless.yml; fi;
|
||||
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;
|
||||
cat serverless.yml
|
||||
env
|
||||
|
||||
|
Reference in New Issue
Block a user