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:
parent
2896fd81a2
commit
0799861873
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue