Create pause.yml

This commit is contained in:
JasonYANG17 2024-02-29 14:41:46 +08:00 committed by GitHub
parent 0104968fbe
commit 524011d8d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

23
.github/workflows/pause.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: pause
on:
workflow_dispatch:
schedule:
- cron: 0 19 * * *
env:
PHONE: ${{ secrets.PHONE }}
PASSWORD: ${{ secrets.PASSWORD }}
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
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Checkin
run: |
python main.py