Skip to content

Afternoon Exercise

Afternoon Exercise #6

Workflow file for this run

name: Afternoon Exercise
on:
schedule:
- cron: '00 08 * * 1-5'
workflow_dispatch:
jobs:
afternoon-exercise:
runs-on: ubuntu-latest
steps:
- name: Checkout codes
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Prepare environment
run: pip install -r requirements.txt
- name: Run app
run: python main.py -r 33 -d 1200 -t 360 -q
env:
USER_ID: ${{ secrets.USER_ID }}
FUDAN_SPORT_TOKEN: ${{ secrets.FUDAN_SPORT_TOKEN }}
PLATFORM_OS: ${{ secrets.PLATFORM_OS }}
PLATFORM_DEVICE: ${{ secrets.PLATFORM_DEVICE }}