From abc0de079b895af1b705894eb2b63596e3e37274 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 13 Dec 2022 20:44:08 -0600 Subject: add pyssg.xyz configs and templates --- pyssg.xyz/bs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyssg.xyz/bs') diff --git a/pyssg.xyz/bs b/pyssg.xyz/bs index 1130b71..940f8df 100755 --- a/pyssg.xyz/bs +++ b/pyssg.xyz/bs @@ -5,5 +5,10 @@ PYSSG_XYZ_DIR=$HOME/pyssg/pyssg.xyz pyssg --config $PYSSG_XYZ_DIR/config.yaml -b --debug +if [ $? -ne 0 ]; then +echo "Failed to build the site." +exit 1 +fi + echo "rsync: pushing (U) local (pyssg.xyz) to webserver (luevano.xyz). (pyssg.xyz)" rsync -rtuvPL --delete-after --exclude-from=$PYSSG_XYZ_DIR/.rsyncignore $PYSSG_XYZ_DIR/live/ luevanor:/var/www/pyssg.xyz/ \ No newline at end of file -- cgit v1.2.3-54-g00ecf