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