尝试修复push

This commit is contained in:
2026-08-05 12:07:02 +08:00 Unverified
parent ec0afcfbe2
commit bcea6361fa
2 changed files with 166 additions and 54 deletions
+17 -5
View File
@@ -1,23 +1,35 @@
name: CET Monitor
on:
schedule:
- cron: "17 * * * *"
workflow_dispatch:
jobs:
monitor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -r requirements.txt
- name: Run
- name: Install
run: pip install -r requirements.txt
- name: Run monitor
env:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
run: python main.py
- name: Save state
- name: Commit state
run: |
git config user.name "gitea-actions"
git config user.email "actions@localhost"