Git pull site repo

This commit is contained in:
Case Duckworth 2021-11-21 22:44:54 +00:00
parent 00b0874309
commit c25540a61b
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ while getopts s:k:o: opt; do
done
shift $((OPTIND - 1))
# git pull the site from the repo
git -C "$SITE_DIR" pull || exit 3
# update data in the site
BREADSITE_DATA_DIR="$SITE_DIR/static/" "$SCRIPT_DIR/update-data.sh"
# publish the site