diff options
author | GNUxeava <bluenerd@protonmail.com> | 2022-03-14 06:50:06 +0530 |
---|---|---|
committer | GNUxeava <bluenerd@protonmail.com> | 2022-03-14 06:50:06 +0530 |
commit | 9e4925a85d9bc6020267392887824ebba3938ce4 (patch) | |
tree | e583bae00ba0ccc0d1dded896d4c17495bf50358 |
initial commit
-rw-r--r-- | hugo-deploy.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hugo-deploy.sh b/hugo-deploy.sh new file mode 100644 index 0000000..e7e9644 --- /dev/null +++ b/hugo-deploy.sh @@ -0,0 +1,8 @@ +#!/bin/sh +USER=remote-user +HOST=remote-host.tld +DIR=/remote/deployment/directory + +hugo && rsync -Pavz -delete public/ ${USER}@${HOST}:${DIR} + +exit 0 |