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:
2025-09-29 20:02:29 +07:00
parent 17ae2a58a8
commit dbfd1b6cc4
+2
View File
@@ -1,5 +1,7 @@
name: Build and deploy
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main