diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-08 11:59:37 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-08 11:59:37 +0100 |
| commit | b0b8f7ffbf563f341745e86bfe85f080f6a8db27 (patch) | |
| tree | c56029d1d0939d899a622c60309dfccd0b84e7bb /Makefile | |
| parent | 2a373fcbb6dc6eb864f1c9f3351efe4b5ed2abf0 (diff) | |
| download | mitjafelicijan.com-b0b8f7ffbf563f341745e86bfe85f080f6a8db27.tar.gz | |
A bunch of changes
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 | ||
