From fc35291cd39a2cc99f073f8e478d6a3cb59048a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=B5=B5=E5=90=8C=E5=AD=A6?= Date: Mon, 21 Oct 2024 20:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E5=AE=9A=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/RefreshCDN.yml | 4 +++- .github/workflows/upy.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/RefreshCDN.yml b/.github/workflows/RefreshCDN.yml index 3dab74c4..bb77dbc3 100644 --- a/.github/workflows/RefreshCDN.yml +++ b/.github/workflows/RefreshCDN.yml @@ -4,6 +4,8 @@ on: push: branches: - main + schedule: + - cron: '0 */12 * * *' # 每 12 小时执行一次 jobs: refresh-cdn: @@ -28,4 +30,4 @@ jobs: env: DOGECLOUD_ACCESS_KEY: ${{ secrets.DOGECLOUD_ACCESS_KEY }} DOGECLOUD_SECRET_KEY: ${{ secrets.DOGECLOUD_SECRET_KEY }} - CDN_URL_LIST: ${{ secrets.CDN_URL_LIST }} + CDN_URL_LIST: ${{ secrets.CDN_URL_LIST }} \ No newline at end of file diff --git a/.github/workflows/upy.yml b/.github/workflows/upy.yml index b25f21ed..fc3f8778 100644 --- a/.github/workflows/upy.yml +++ b/.github/workflows/upy.yml @@ -5,7 +5,7 @@ on: branches: - main # 根据您的实际情况修改分支名称 schedule: - - cron: '0 */3 * * *' # 每三小时自动构建一次 + - cron: '0 */12 * * *' # 每十二小时自动构建一次 jobs: deploy: