things can be pretty too

This commit is contained in:
sakrecoer 2026-07-31 11:49:35 +02:00
parent 33fd920c3f
commit 34096d5996

View file

@ -5,8 +5,10 @@ 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"
date '+%Y-%m-%d %H:%M:%S' > $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 # we wipe the log file from rpevious entries, because no history here is super important
echo ""
echo ""
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