no message

This commit is contained in:
hajimi
2026-06-11 12:15:29 +08:00
parent 10ebe39c30
commit 96efa1d905
5859 changed files with 815501 additions and 5 deletions
+43
View File
@@ -0,0 +1,43 @@
# 已停用:改由 la_dev_crontab 定时任务调用(params=crawl
# 原配置保留供参考,不删除以便回溯
#
# name: Truth Social Crawler
#
# on:
# schedule:
# # 每小时执行一次 (UTC 时间)
# - cron: '0 * * * *'
# workflow_dispatch: # 允许手动触发
#
# jobs:
# crawl:
# runs-on: ubuntu-latest
# permissions:
# contents: write
#
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'
#
# - name: Install dependencies
# run: pip install -r public/truth-social/requirements.txt
#
# - name: Run crawler
# run: python public/truth-social/crawler.py
#
# - name: Commit & Push data
# run: |
# git config user.name "github-actions[bot]"
# git config user.email "github-actions[bot]@users.noreply.github.com"
# git add public/truth-social/data/
# if git diff --staged --quiet; then
# echo "No new data to commit"
# else
# git commit -m "data: update truth social posts $(date -u +%Y-%m-%dT%H:%M:%SZ)"
# git push
# fi