Skip to content

Commit

Permalink
ci: Trying to re enable dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Jul 31, 2024
1 parent 4a2c6b6 commit 6c331a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/generate_schedulers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def generate_schedulers(config : dict, template : str):

_.set_(cicd, "name", f"Scheduler - {scheduler['name']}")

cicd["on"] = {"schedule": [{"cron": scheduler["cron"]}]}
# cicd["on"] = {"workflow_dispatch": '', "schedule": [{"cron": scheduler["cron"]}]}
# cicd["on"] = {"schedule": [{"cron": scheduler["cron"]}]}
cicd["on"] = {"workflow_dispatch": None, "schedule": [{"cron": scheduler["cron"]}]}


new_step = {}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scheduler__main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ name: Scheduler - main
'on':
schedule:
- cron: '*/5 * * * *'
workflow_dispatch: null

0 comments on commit 6c331a7

Please sign in to comment.