diff --git a/.github/workflows/deploy_tencent_scf.yml b/.github/workflows/deploy_tencent_scf.yml index be448305..4a0d65cc 100644 --- a/.github/workflows/deploy_tencent_scf.yml +++ b/.github/workflows/deploy_tencent_scf.yml @@ -41,6 +41,7 @@ jobs: JXNC_SHARECODES: ${{ secrets.JXNC_SHARECODES}} JDSGMH_SHARECODES: ${{ secrets.JDSGMH_SHARECODES}} JDCFD_SHARECODES: ${{ secrets.JDCFD_SHARECODES}} + JD818_SHARECODES: ${{ secrets.JD818_SHARECODES}} JD_BEAN_STOP: ${{ secrets.JD_BEAN_STOP}} JD_BEAN_SIGN_STOP_NOTIFY: ${{ secrets.JD_BEAN_SIGN_STOP_NOTIFY}} JD_BEAN_SIGN_NOTIFY_SIMPLE: ${{ secrets.JD_BEAN_SIGN_NOTIFY_SIMPLE}} @@ -128,6 +129,7 @@ jobs: if [ $JXNC_SHARECODES ]; then sed -i "/variables/a\ JXNC_SHARECODES: $JXNC_SHARECODES" serverless.yml; fi; if [ $JDSGMH_SHARECODES ]; then sed -i "/variables/a\ JDSGMH_SHARECODES: $JDSGMH_SHARECODES" serverless.yml; fi; if [ $JDCFD_SHARECODES ]; then sed -i "/variables/a\ JDCFD_SHARECODES: $JDCFD_SHARECODES" serverless.yml; fi; + if [ $JD818_SHARECODES ]; then sed -i "/variables/a\ JD818_SHARECODES: $JD818_SHARECODES" serverless.yml; fi; if [ $JD_BEAN_STOP ]; then sed -i "/variables/a\ JD_BEAN_STOP: $JD_BEAN_STOP" serverless.yml; fi; if [ $JD_BEAN_SIGN_STOP_NOTIFY ]; then sed -i "/variables/a\ JD_BEAN_SIGN_STOP_NOTIFY: $JD_BEAN_SIGN_STOP_NOTIFY" serverless.yml; fi; if [ $JD_BEAN_SIGN_NOTIFY_SIMPLE ]; then sed -i "/variables/a\ JD_BEAN_SIGN_NOTIFY_SIMPLE: $JD_BEAN_SIGN_NOTIFY_SIMPLE" serverless.yml; fi; diff --git a/githubAction.md b/githubAction.md index 0cc0c2a0..f7e9cdc4 100644 --- a/githubAction.md +++ b/githubAction.md @@ -51,6 +51,7 @@ | `JXNC_SHARECODES` | 京喜农场
互助码 | 非必须 | / | 注意:京喜农场种植种子发生变化的时候,互助码也会变!!
每个账号 shareCode 是一个 json,
json 需要用单引号包裹且是一行字符串,
否则设置环境变量时会出错,
示例:'{"smp":"22bdadsfaadsfadse8a",
"active":"jdnc_1_btorange210113_2","joinnum":"1"}',
多账单间使用`&`或换行分开。
详细说明参见[#Pr202](https://github.com/LXK9301/jd_scripts/pull/202)
如果使用`docker-compose`部署就不需要在互助码两端加单引号。详细参见Issues[#I35AG8](https://gitee.com/lxk0301/jd_scripts/issues/I35AG8)| | `JDSGMH_SHARECODES` | 闪购盲盒
互助码 | 非必须 | 10/ | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) | | `JDCFD_SHARECODES` | 京喜财富岛
互助码 | 非必须 | 未知/未知 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) | +| `JD818_SHARECODES` | 手机狂欢城
互助码 | 非必须 | 未知/未知 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) | ##### 控制脚本功能环境变量 diff --git a/serverless.yml b/serverless.yml index ea1f63d8..0dba86ea 100644 --- a/serverless.yml +++ b/serverless.yml @@ -52,12 +52,12 @@ inputs: cronExpression: "0 10 0 * * * *" enable: true argument: jd_redPacket&jd_shop&jd_unsubscribe&jd_lotteryMachine&jd_car&jd_ms - - timer: #京东天天加速 #天天提鹅 #5G超级盲盒 + - timer: #京东天天加速 #天天提鹅 #5G超级盲盒 #手机狂欢城 parameters: - name: speed_dailyegg_mohe + name: speed_dailyegg_mohe_carnivalcity cronExpression: "0 8 */3 * * * *" enable: true - argument: jd_speed&jd_daily_egg&jd_mohe + argument: jd_speed&jd_daily_egg&jd_mohe&jd_carnivalcity - timer: #东东超市 parameters: name: superMarket