diff --git a/README.md b/README.md index 9d9bff1..caed132 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Hugo is Static Site Generator. It should be available in your packet manager. Download nak binary from https://github.com/fiatjaf/nak/releases/latest and put it in your path (the dirty way). Note that the example bellow downloads a version that migh be outdated at the time you are reading this. #### Example for Linux AMD64 -``` +```bash wget https://github.com/fiatjaf/nak/releases/download/v0.20.2/nak-v0.20.2-linux-amd64 chmod +x nak-linux-amd64 sudo mv nak-linux-amd64 /usr/local/bin/nak @@ -142,10 +142,14 @@ chmod +x deploy.sh Add to crontab (runs every 30 minutes) # Edit crontab +```bash crontab -e +``` # Add this line: +```bash */30 * * * * /path/to/your-cloned-git/deploy.sh +``` Alternative: Different intervals