Merge branch 'main' of https://github.com/imzql/blog
This commit is contained in:
commit
88ee6e34cd
1 file changed
+4
-1
@@ -4,6 +4,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main # 根据您的实际情况修改分支名称
|
||||
schedule:
|
||||
- cron: '0 16 * * *' # 对应上海时间每天 00:00 构建
|
||||
- cron: '0 4 * * *' # 对应上海时间每天 12:00 构建
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -40,4 +43,4 @@ jobs:
|
||||
operator: ${{ secrets.UPYUN_OPERATOR }}
|
||||
password: ${{ secrets.UPYUN_PASSWORD }}
|
||||
dir: 'public' # 确认这个目录是您的构建输出目录
|
||||
publish_dir: '/'
|
||||
publish_dir: '/' # 发布到 UpYun 的根目录
|
||||
Reference in new issue
Block a user