1 parent ac67b98 commit 3dff9a2Copy full SHA for 3dff9a2
1 file changed
.github/workflows/keep-render-active.yml
@@ -0,0 +1,21 @@
1
+# .github/workflows/keep-render-active.yml
2
+name: Keep Render Service Active
3
+on:
4
+ schedule:
5
+ - cron: '0 0 1 * *' # 每月1号
6
+ workflow_dispatch: # 👈 关键!允许手动触发
7
+jobs:
8
+ keep-alive:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout server branch
12
+ uses: actions/checkout@v4
13
+ with:
14
+ ref: server # 必须指定分支
15
+
16
+ - name: Create empty commit and push
17
+ run: |
18
+ git config user.name "baiwumm"
19
+ git config user.email "me@baiwumm.com"
20
+ git commit --allow-empty -m "chore: keep Render service active [skip ci]"
21
+ git push origin server
0 commit comments