Git pull site repo
This commit is contained in:
parent
00b0874309
commit
c25540a61b
|
@ -16,6 +16,8 @@ while getopts s:k:o: opt; do
|
||||||
done
|
done
|
||||||
shift $((OPTIND - 1))
|
shift $((OPTIND - 1))
|
||||||
|
|
||||||
|
# git pull the site from the repo
|
||||||
|
git -C "$SITE_DIR" pull || exit 3
|
||||||
# update data in the site
|
# update data in the site
|
||||||
BREADSITE_DATA_DIR="$SITE_DIR/static/" "$SCRIPT_DIR/update-data.sh"
|
BREADSITE_DATA_DIR="$SITE_DIR/static/" "$SCRIPT_DIR/update-data.sh"
|
||||||
# publish the site
|
# publish the site
|
||||||
|
|
Loading…
Reference in New Issue