Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

可以正常在8点签到,但是怎么在另外时间签退呢,要重新fork一个吗 #28

Closed
lliyuhao opened this issue Jan 23, 2024 · 4 comments

Comments

@lliyuhao
Copy link

No description provided.

@CncCbz
Copy link
Owner

CncCbz commented Jan 23, 2024

重新创建一个action和secrets,用新的action进行签退

@CncCbz
Copy link
Owner

CncCbz commented Jan 23, 2024

例如:
1、创建一个Action名为main.yml,内容如下

name: 签退 # yml文件名
 
on:
  workflow_dispatch:
  schedule:   
    # https://crontab.guru/
    # UTC 时间,中国时区应减 8
    - cron: '0 10 * * *'
 
jobs:
  run-check-in: # 任务名
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3
        
      - uses: actions/setup-node@v3
        with:
          node-version: '20.x'
          
      - name: 安装依赖  
        run: |
          npm install

      - name: 运行签到
        run: |
          node ./index.js '${{ secrets.XYB_OUT }}'

2、创建一个新的secrets,名为XYB_OUT,值为:username=用户名&password=密码;mode=out;qmsgKey=keykey;qmsgTo=123412445

@CncCbz CncCbz pinned this issue Jan 23, 2024
@CncCbz CncCbz closed this as completed Jan 24, 2024
@shengye2413
Copy link

最近报502错误了,请问大佬是什么原因

@CncCbz
Copy link
Owner

CncCbz commented Oct 31, 2024

xyb小程序崩了,和网站无关

最近报502错误了,请问大佬是什么原因

Repository owner locked as resolved and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants