Skip to content

Commit

Permalink
update themes before generating site
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Merrill committed Mar 27, 2018
1 parent 686a95f commit 7aeffc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions micropub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ case $EXT in
mv "${SOURCEFILE}" "${DESTDIR}/content/";
chmod 644 "${DESTDIR}/content/${FILENAME}"
echo "Generating site ${WEBROOT}";
cd ${DESTDIR}/themes/;
/usr/bin/git pull;
cd ${DESTDIR};
/usr/local/bin/hugo --quiet --config ${DESTDIR}/config.yaml -s ${DESTDIR} -d ${WEBROOT}
;;
*)
Expand Down

0 comments on commit 7aeffc3

Please sign in to comment.