Skip to content

Commit 9f20d22

Browse files
committed
updte:css style
1 parent 74246d4 commit 9f20d22

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+686
-558
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- 'src/**'
88
- 'package*.json'
99
- 'build.js'
10+
schedule:
11+
# 每天 UTC 时间 2 点运行 (相当于北京时间晚上 10 点)
12+
- cron: '0 2 * * *'
1013
workflow_dispatch: # 允许手动触发工作流
1114

1215
jobs:
@@ -38,7 +41,7 @@ jobs:
3841
path: ./public
3942

4043
- name: Deploy to GitHub Pages
41-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
44+
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
4245
uses: actions/deploy-pages@v4
4346
with:
4447
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)