Skip to content

Commit de798d6

Browse files
committed
add manual execution and daily cron schedule for MOTD generation
- Add workflow_dispatch for manual execution via GitHub Actions UI - Add cron schedule to run daily at 4 AM UTC - Enables both automated daily updates and on-demand manual triggers
1 parent 953558e commit de798d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/generate-motd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: "Generate motd for Linux OS"
22
on:
33
repository_dispatch:
44
types: ["MOTD update"]
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '0 4 * * *' # Daily at 4 AM UTC
58

69
concurrency:
710
group: ${{ github.workflow }}

0 commit comments

Comments
 (0)