加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
20210323jd_dpqd.yml 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
hajiuhajiu 提交于 2021-05-28 09:33 . Update 20210323jd_dpqd.yml
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: 0323jd_dpqd店铺签到(勿传)
on:
workflow_dispatch:
schedule:
- cron: '10 18,10 * * *'
repository_dispatch:
types: 店铺签到
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
- name: Use Node.js 15.x
uses: actions/setup-node@v1
with:
node-version: 15.x
- name: npm install
run: |
npm install
- name: '运行 【店铺签到】'
run: |
curl https://raw.githubusercontent.com/hajiuhajiu/jdsign1112/master/jd_dpqd.js -o jd_dpqd.js
node jd_dpqd.js
curl https://raw.githubusercontent.com/hajiuhajiu/jdsign1112/master/jd_ShopSign.js -o jd_ShopSign.js
node jd_ShopSign.js
curl https://raw.githubusercontent.com/hajiuhajiu/jdsign1112/master/jd_dpqd2.js -o jd_dpqd2.js
node jd_dpqd2.js
env:
JD_COOKIE: ${{ secrets.JD_COOKIE }}
JD_USER_AGENT: ${{ secrets.JD_USER_AGENT }}
JD_DEBUG: ${{ secrets.JD_DEBUG }}
PUSH_KEY: ${{ secrets.PUSH_KEY }}
QQ_SKEY: ${{ secrets.QQ_SKEY }}
QQ_MODE: ${{ secrets.QQ_MODE }}
BARK_PUSH: ${{ secrets.BARK_PUSH }}
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
TG_USER_ID: ${{ secrets.TG_USER_ID }}
BARK_SOUND: ${{ secrets.BARK_SOUND }}
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
QYWX_KEY: ${{ secrets.QYWX_KEY }}
PUSH_PLUS_TOKEN: ${{ github.event.client_payload.PUSH_PLUS_TOKEN || secrets.PUSH_PLUS_TOKEN }}
PUSH_PLUS_USER: ${{ github.event.client_payload.PUSH_PLUS_USER || secrets.PUSH_PLUS_USER }}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化