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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue