diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..0f39235 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,8 @@ +#!/bin/sh +USER=kiri +HOST=192.168.1.178 +DIR=/var/www/ # the directory where your website files should go + +hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public directory + +exit 0 diff --git a/deploy_devon.sh b/deploy_devon.sh new file mode 100644 index 0000000..b0878a2 --- /dev/null +++ b/deploy_devon.sh @@ -0,0 +1,8 @@ +#!/bin/sh +USER=devon +HOST=192.168.1.178 +DIR=/var/www/ # the directory where your website files should go + +hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public directory + +exit 0