things could really be prettier

This commit is contained in:
sakrecoer 2026-07-31 12:06:44 +02:00
parent b9eb9da5b1
commit 82734201a9

View file

@ -5,10 +5,12 @@ SITE_DIR="/path/to/your-cloned-git"
WEBROOT="/probably/var/www/html" WEBROOT="/probably/var/www/html"
LOG_FILE="$HOME/nostr-site-deploy.log" LOG_FILE="$HOME/nostr-site-deploy.log"
echo "Last run" echo "" >> $LOG_FILE
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 "Last run" > $LOG_FILE # we wipe the log file from rpevious entries, because no history here is super important
echo "" date '+%Y-%m-%d %H:%M:%S' >> $LOG_FILE
echo "" echo "" >> $LOG_FILE
echo "" >> $LOG_FILE
cd $SITE_DIR cd $SITE_DIR
/usr/bin/git pull >> $LOG_FILE /usr/bin/git pull >> $LOG_FILE
/usr/bin/bash fetch-and-convert.sh >> $LOG_FILE /usr/bin/bash fetch-and-convert.sh >> $LOG_FILE