things can be pretty too
This commit is contained in:
parent
33fd920c3f
commit
34096d5996
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue