formatting madness
This commit is contained in:
parent
da265d04fa
commit
5326740484
1 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
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
|
#### Example for Linux AMD64
|
||||||
```
|
```bash
|
||||||
wget https://github.com/fiatjaf/nak/releases/download/v0.20.2/nak-v0.20.2-linux-amd64
|
wget https://github.com/fiatjaf/nak/releases/download/v0.20.2/nak-v0.20.2-linux-amd64
|
||||||
chmod +x nak-linux-amd64
|
chmod +x nak-linux-amd64
|
||||||
sudo mv nak-linux-amd64 /usr/local/bin/nak
|
sudo mv nak-linux-amd64 /usr/local/bin/nak
|
||||||
|
|
@ -142,10 +142,14 @@ chmod +x deploy.sh
|
||||||
Add to crontab (runs every 30 minutes)
|
Add to crontab (runs every 30 minutes)
|
||||||
|
|
||||||
# Edit crontab
|
# Edit crontab
|
||||||
|
```bash
|
||||||
crontab -e
|
crontab -e
|
||||||
|
```
|
||||||
|
|
||||||
# Add this line:
|
# Add this line:
|
||||||
|
```bash
|
||||||
*/30 * * * * /path/to/your-cloned-git/deploy.sh
|
*/30 * * * * /path/to/your-cloned-git/deploy.sh
|
||||||
|
```
|
||||||
|
|
||||||
Alternative: Different intervals
|
Alternative: Different intervals
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue