JueJin_Helper #1011
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
name: JueJin_Helper | |
on: | |
schedule: | |
- cron: "0 23 * * *" # 该时间为UTC时间,比北京时间晚8个小时,每天早上7点自动执行 | |
workflow_dispatch: | |
jobs: | |
checkin: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
registry-url: https://npm.pkg.github.com/ | |
- name: Run Project | |
env: | |
COOKIE: ${{ secrets.COOKIE }} | |
USER: ${{ secrets.USER }} | |
PASS: ${{ secrets.PASS }} | |
TO: ${{ secrets.TO }} | |
run: node dist/index.js "${COOKIE}" "${USER}" "${PASS}" "${TO}" |