feat: Add a nightly build

Added a scheduled nightly build workflow to keep the deployed site current
with any content changes, particularly in the private submodule.
This commit is contained in:
Matthew Binning 2026-03-23 06:59:46 -07:00
parent 47347df98c
commit 83e3f8926a
3 changed files with 5 additions and 10 deletions

View file

@ -5,6 +5,8 @@ on:
branches:
- master
- develop
schedule:
- cron: '0 2 * * *'
jobs:
deploy:

View file

@ -15,10 +15,6 @@ fi
CMD=$1
case $CMD in
sync)
rsync -avz src/ /var/lib/www/
;;
build)
printf "Building blog with mdbook...\n"
[ -s src ] || ln -s /var/lib/www src

View file

@ -1,16 +1,12 @@
(B) Set up nightly builds
Personalize the index page.
Change the title of the Blog.
Personalize the introduction page of the blog.
Integrate photos for recipes
Determine which articles should be incorporated into the website
Integrate photos for recipes
Build out the Copper Chronicle
Fill out the DefCon article
Fill out the Oktoberfest article with old physical notes in big binder
Fill out the health journey
Fill out the faith journey
x Add a build step to fetch/symlink "content" to this repo before mdbook build.
x Add a folder to hold the main html files and deploy it properly.
x Create a simple webpage with HTML and CSS
@ -43,3 +39,4 @@ x 2026-03-22 Add a Forgejo pipeline to supersede deploy.sh.
x 2026-03-22 Remove the one line descriptions from the menu.
x 2026-03-22 Move the resume to the private section and add the lock symbol.
x 2026-03-23 Reduce the CSS where possible. Match my website's theme to align with mdbook's theme.
x Set up nightly builds