diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-07 03:31:51 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-07 03:31:51 -0600 |
commit | 40d23848d816816b3db3e7296e8a28f964b53786 (patch) | |
tree | d3f27d599b4087d91f76fef62b7449f5cf6be2f6 /pyssg.xyz/bs | |
parent | 0b8441c79b047f81526bbb83febc40d7530e35d6 (diff) |
refactor code, fix config checker and new files for pyssg.xyz
Diffstat (limited to 'pyssg.xyz/bs')
-rwxr-xr-x | pyssg.xyz/bs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pyssg.xyz/bs b/pyssg.xyz/bs new file mode 100755 index 0000000..1b863dc --- /dev/null +++ b/pyssg.xyz/bs @@ -0,0 +1,10 @@ +#!/bin/sh +# bs = build and sync, to pyssg.xyz + +PYSSG_XYZ_DIR=$HOME/pyssg/pyssg.xyz + +pyssg --config $PYSSG_XYZ_DIR/config.yaml -b --debug + +exit 0 +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 |