From 82734201a99b3dbc23b9f0908900a01f7f653afa Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Fri, 31 Jul 2026 12:06:44 +0200 Subject: [PATCH] things could really be prettier --- example.deploy.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/example.deploy.sh b/example.deploy.sh index 69d3494..e3d55b1 100755 --- a/example.deploy.sh +++ b/example.deploy.sh @@ -5,10 +5,12 @@ SITE_DIR="/path/to/your-cloned-git" WEBROOT="/probably/var/www/html" LOG_FILE="$HOME/nostr-site-deploy.log" -echo "Last run" -date '+%Y-%m-%d %H:%M:%S' > $LOG_FILE # we wipe the log file from rpevious entries, because no history here is super important -echo "" -echo "" +echo "" >> $LOG_FILE +echo "Last run" > $LOG_FILE # we wipe the log file from rpevious entries, because no history here is super important +date '+%Y-%m-%d %H:%M:%S' >> $LOG_FILE +echo "" >> $LOG_FILE +echo "" >> $LOG_FILE + cd $SITE_DIR /usr/bin/git pull >> $LOG_FILE /usr/bin/bash fetch-and-convert.sh >> $LOG_FILE