From f2ade4aa6a1aa62d3377e95a04fe54f8e00fa3f9 Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Wed, 18 Sep 2024 10:00:18 +0800 Subject: [PATCH] fix: schedule is not running --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3dec3db..0bbc5c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ on: branches: [ "master" ] jobs: build: - if: startsWith(github.event.head_commit.message, '(update)') + if: github.event_name == 'schedule' || startsWith(github.event.head_commit.message, '(update)') runs-on: ubuntu-latest permissions: contents: read