diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
commit | abc0de079b895af1b705894eb2b63596e3e37274 (patch) | |
tree | c51d24dce55da8d9b227cbac6c2ef64a59d8e9dc /pyssg.xyz/bs | |
parent | db4b3736d4f45137a733ce5eb1e50aec968ca1d2 (diff) |
add pyssg.xyz configs and templates
Diffstat (limited to 'pyssg.xyz/bs')
-rwxr-xr-x | pyssg.xyz/bs | 5 |
1 files changed, 5 insertions, 0 deletions
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 |