Run TryCrawl4ai Daily #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run TryCrawl4ai Daily | |
on: | |
schedule: | |
# 每天的 9:47 UTC 时间运行(你可以根据需要调整) | |
- cron: '47 9 * * *' | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' # 使用 Python 版本 | |
- name: Install Dependencies | |
run: | | |
# python -m pip install --upgrade pip | |
# pip install -r requirements.txt # 如果有依赖文件 | |
- name: Run TryCrawl4ai Script | |
run: | | |
python TryCrawl4ai.py # 运行你的Python脚本 |