-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b635453
commit 1d0e3cf
Showing
22 changed files
with
476 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 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_collectProduceScore | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 * * * *' | ||
watch: | ||
types: started | ||
repository_dispatch: | ||
types: collectProduceScore | ||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
if: github.event.repository.owner.id == github.event.sender.id | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- 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_collectProduceScore.js | ||
env: | ||
JD_COOKIE: ${{ secrets.JD_COOKIE }} | ||
JD_DEBUG: ${{ secrets.JD_DEBUG }} | ||
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 }} | ||
JD_818_SHAREID_NOTIFY: ${{ secrets.JD_818_SHAREID_NOTIFY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.