加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_joy_reward.yml 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
hajiuhajiu 提交于 2021-05-26 16:36 . Update jd_joy_reward.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: jd_joy_reward(换20豆)
on:
workflow_dispatch:
schedule:
- cron: '55 23,3,7 * * *'
watch:
types: started
repository_dispatch:
types: joy_reward
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 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: npm install
run: |
npm install
- name: '运行 【宠汪汪积分兑换京豆】'
run: |
node jd_joy_reward.js
env:
JD_COOKIE: ${{ secrets.JD_COOKIE }}
JD_DEBUG: ${{ secrets.JD_DEBUG }}
JD_JOY_REWARD_NOTIFY: ${{ secrets.JD_JOY_REWARD_NOTIFY }}
PUSH_KEY: ${{ secrets.PUSH_KEY }}
BARK_PUSH: ${{ secrets.BARK_PUSH }}
BARK_SOUND: ${{ secrets.BARK_SOUND }}
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
TG_USER_ID: ${{ secrets.TG_USER_ID }}
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化