mirror of
https://git.adityakumar.xyz/hugo-deploy.git
synced 2024-11-09 14:59:45 +00:00
initial commit
This commit is contained in:
commit
9e4925a85d
1 changed files with 8 additions and 0 deletions
8
hugo-deploy.sh
Normal file
8
hugo-deploy.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue