From 4ff5bfddcf28c265de09819f59bf6d8afd50e2c9 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 15 Dec 2024 13:03:43 +0100 Subject: Add deploy.sh --- deploy.sh | 9 +++++++++ themes/chilldark | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..ea4fcfc --- /dev/null +++ b/deploy.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +USER=chad +HOST=fedang.net +DIR=/var/www/html + +hugo && rsync -avz --delete public/ --exclude=/.well-known ${USER}@${HOST}:${DIR} +# this will delete everything on the server that's not in the local public folder + diff --git a/themes/chilldark b/themes/chilldark index 5d084c9..c59627f 160000 --- a/themes/chilldark +++ b/themes/chilldark @@ -1 +1 @@ -Subproject commit 5d084c968b2b9beb7a76c05ead44e88e97b7a9d6 +Subproject commit c59627f3be9315cd8548bdcd912046c73f7f144c -- cgit v1.2.3