fix: avoid frequent scheduled task (#2274)

This commit is contained in:
blooming
2024-05-06 16:37:52 +08:00
committed by GitHub
parent 230c0dbb8b
commit 691cf740af
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -15,8 +15,6 @@
name: Publish Docker image
on:
schedule:
- cron: '30 2 * * *'
push:
branches:
- main
@@ -31,6 +29,7 @@ env:
jobs:
build-dockerhub:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- name: Checkout