[Website] Add the deploy script to deploy the website
This commit is contained in:
parent
0f651c4a49
commit
6b3bf41a60
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
USER=www
|
||||||
|
HOST=core.lxsameer.com
|
||||||
|
DIR=/home/www/public/serene/
|
||||||
|
SITEDIR=$(cd "$(dirname "$0")/.." >/dev/null 2>&1 ; pwd -P)
|
||||||
|
|
||||||
|
hugo && rsync -avz --delete ${SITEDIR}/public/ ${USER}@${HOST}:${DIR}
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue