diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-27 15:10:46 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-27 15:10:46 +0100 |
| commit | 95df760bc1571071a7f6b9f626ecd4e5e3b34adc (patch) | |
| tree | d7bf0eae94653d3d1d8828b31f6dea37a8f5992c /Makefile | |
| parent | 0d4d604fe6482052fe7724b04299474f8a820780 (diff) | |
| download | mitjafelicijan.com-95df760bc1571071a7f6b9f626ecd4e5e3b34adc.tar.gz | |
Adde openring
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
| @@ -1,3 +1,19 @@ | |||
| 1 | deploy: | 1 | provision: |
| 2 | cd ~/Junk | ||
| 3 | git clone https://git.sr.ht/~sircmpwn/openring | ||
| 4 | cd openring | ||
| 5 | go build | ||
| 6 | go install | ||
| 7 | |||
| 8 | build: | ||
| 9 | openring -n 4 -p 2 \ | ||
| 10 | -s https://drewdevault.com/feed.xml \ | ||
| 11 | -s https://danluu.com/atom.xml \ | ||
| 12 | < template/openring.tmpl \ | ||
| 13 | > template/openring-build.html | ||
| 14 | |||
| 2 | alternator --build | 15 | alternator --build |
| 3 | cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ \ No newline at end of file | 16 | rm template/openring-build.html |
| 17 | |||
| 18 | deploy: build | ||
| 19 | cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ | ||
