diff options
| author | leiyu3 <s444814187@gmail.com> | 2025-07-17 13:51:48 -0400 |
|---|---|---|
| committer | leiyu3 <s444814187@gmail.com> | 2025-07-17 13:51:48 -0400 |
| commit | ce3c9ac0ee5609ae6a42f8729cfcb10e395c0e08 (patch) | |
| tree | 563ce229e4f183d160d7d4d8b23b3df6576f4575 /deploy.sh | |
| parent | 00433bb63d22294fcb9adf94dc9980c28e3cb423 (diff) | |
| download | letsworship-ce3c9ac0ee5609ae6a42f8729cfcb10e395c0e08.tar.gz letsworship-ce3c9ac0ee5609ae6a42f8729cfcb10e395c0e08.zip | |
deploy
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 | ||
