diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
| @@ -5,7 +5,10 @@ provision: | |||
| 5 | go build \ | 5 | go build \ |
| 6 | go install | 6 | go install |
| 7 | 7 | ||
| 8 | dev: | 8 | dither: |
| 9 | bash dither-images.sh | ||
| 10 | |||
| 11 | openring: | ||
| 9 | openring -l 165 -n 4 -p 1 \ | 12 | openring -l 165 -n 4 -p 1 \ |
| 10 | -s https://cronokirby.com/posts/index.xml \ | 13 | -s https://cronokirby.com/posts/index.xml \ |
| 11 | -s https://drewdevault.com/feed.xml \ | 14 | -s https://drewdevault.com/feed.xml \ |
| @@ -13,10 +16,11 @@ dev: | |||
| 13 | -s https://serokell.io/blog.rss.xml \ | 16 | -s https://serokell.io/blog.rss.xml \ |
| 14 | < template/openring.tmpl \ | 17 | < template/openring.tmpl \ |
| 15 | > template/openring-build.html | 18 | > template/openring-build.html |
| 19 | |||
| 20 | dev: openring | ||
| 16 | alternator --watch | 21 | alternator --watch |
| 17 | 22 | ||
| 18 | build: | 23 | build: |
| 19 | bash dither-images.sh | ||
| 20 | mkdir -p public | 24 | mkdir -p public |
| 21 | openring -l 165 -n 4 -p 1 \ | 25 | openring -l 165 -n 4 -p 1 \ |
| 22 | -s https://cronokirby.com/posts/index.xml \ | 26 | -s https://cronokirby.com/posts/index.xml \ |
| @@ -28,7 +32,7 @@ build: | |||
| 28 | 32 | ||
| 29 | alternator --build | 33 | alternator --build |
| 30 | rm template/openring-build.html | 34 | rm template/openring-build.html |
| 31 | cp yapyap/* public/ | ||
| 32 | 35 | ||
| 33 | deploy: build | 36 | deploy: build |
| 34 | cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ | 37 | cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ |
| 38 | ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf | ||
