Skip to content

Multi-Airport Check-in #47

Multi-Airport Check-in

Multi-Airport Check-in #47

Workflow file for this run

name: Multi-Airport Check-in
on:
schedule:
- cron: '0 17 * * *' # 每天7点(UTC时间)执行,CRON表达式
workflow_dispatch: # 允许手动触发工作流
jobs:
checkin:
runs-on: ubuntu-latest # 使用最新的 Ubuntu 镜像
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # 你可以选择 Python 版本
- name: Install requests
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run check-in script
env:
ACCOUNT1: ${{ secrets.ACCOUNT1 }}
ACCOUNT2: ${{ secrets.ACCOUNT2 }}
ACCOUNT3: ${{ secrets.ACCOUNT3 }}
ACCOUNT4: ${{ secrets.ACCOUNT4 }}
ACCOUNT5: ${{ secrets.ACCOUNT5 }}
ACCOUNT6: ${{ secrets.ACCOUNT6 }}
SCKEY: ${{ secrets.SCKEY }}
run: |
python checkin.py