mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 03:13:10 +00:00
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:
1 parent
94100b6a41
commit
3b76642a34
1 file changed
+2
@@ -1,5 +1,7 @@
|
|||||||
name: Build and deploy
|
name: Build and deploy
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|||||||
Reference in new issue
Block a user