diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 162a70fd..012aadda 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,8 @@ on: branches: [ main ] schedule: - cron: '0 23 * * *' + watch: + types: [started] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -38,4 +40,4 @@ jobs: env: COOKIES: ${{ secrets.SMZDM_COOKIE }} SERVERCHAN_SECRETKEY: ${{ secrets.SERVERCHAN_SECRETKEY }} - run: python main.py #>SMZDM_Bot.log \ No newline at end of file + run: python main.py #>SMZDM_Bot.log