From 935ae1793c157c7480de681e668e3491ca190f6d Mon Sep 17 00:00:00 2001 From: themelm Date: Tue, 11 Mar 2025 20:38:45 -0600 Subject: [PATCH] Deploy Scripts --- deploy.sh | 8 ++++++++ deploy_devon.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100755 deploy.sh create mode 100644 deploy_devon.sh 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