mirror of
https://github.com/JasonYANG170/GameTimePause.git
synced 2024-11-23 12:06:36 +00:00
Create pause.yml
This commit is contained in:
parent
0104968fbe
commit
524011d8d9
23
.github/workflows/pause.yml
vendored
Normal file
23
.github/workflows/pause.yml
vendored
Normal 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user