diff options
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..c6e5996 --- /dev/null +++ b/deploy.sh | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | USER=root | ||
| 3 | HOST=letsworship.xyz | ||
| 4 | DIR=/var/www/letsworship | ||
| 5 | |||
| 6 | rm -rf public | ||
| 7 | |||
| 8 | hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} | ||
| 9 | |||
| 10 | exit 0 \ No newline at end of file | ||
