Add ece408 project, update theme

This commit is contained in:
Carl Pearson
2017-09-29 07:16:44 -05:00
parent a9a0f7b830
commit 9c5e11f41e
3 changed files with 53 additions and 3 deletions

View File

@@ -22,6 +22,15 @@ if [[ "$numpaths" -ne "1" ]]; then
exit -1
fi
# Try building the website locally
cd "$HUGO_ROOT"
echo "Updating theme"
git submodule update --recursive --remote
echo "Building site"
hugo
# Clean up local build
rm -r "$HUGO_ROOT/public"
# Clean up github.io repo
echo "Updating and cleaning cwpearson.github.io"
@@ -31,8 +40,6 @@ rm -rf *
# Build website
cd "$HUGO_ROOT"
echo "Updating theme"
git submodule update --recursive --remote
echo "Building site"
hugo -d "$IO_ROOT"