mirror of
https://github.com/JasonYANG170/AutoCheckBJMF.git
synced 2024-11-27 06:06:25 +00:00
25 lines
642 B
YAML
25 lines
642 B
YAML
name: AutoCheckBJMF
|
|
on:
|
|
workflow_dispatch:
|
|
env:
|
|
ClassID: ${{ secrets.ClassID }}
|
|
X: ${{ secrets.X }}
|
|
Y: ${{ secrets.Y }}
|
|
ACC: ${{ secrets.ACC }}
|
|
SearchTime: ${{ secrets.SEARCHTIME }}
|
|
MyCookie: ${{ secrets.MYCOOKIE }}
|
|
token: ${{ secrets.TOKEN }}
|
|
jobs:
|
|
checkin:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v3
|
|
- name: Set up env
|
|
run: pip install requests
|
|
pip install beautifulsoup4
|
|
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
- name: Checkin
|
|
run: |
|
|
python main.py
|