Add scheduled build to Hugo workflow

Introduces a cron schedule to the GitHub Actions workflow for Hugo, triggering a build and deploy every day at midnight in addition to builds on push to main.
This commit is contained in:
tiennm99 committed 2025-09-29 20:02:29 +07:00
1 parent 94100b6a41
commit 3b76642a34
1 file changed
+2
+2
View File
@@ -1,5 +1,7 @@
name: Build and deploy
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main