aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2021-12-08 11:59:37 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2021-12-08 11:59:37 +0100
commitb0b8f7ffbf563f341745e86bfe85f080f6a8db27 (patch)
treec56029d1d0939d899a622c60309dfccd0b84e7bb /Makefile
parent2a373fcbb6dc6eb864f1c9f3351efe4b5ed2abf0 (diff)
downloadmitjafelicijan.com-b0b8f7ffbf563f341745e86bfe85f080f6a8db27.tar.gz
A bunch of changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index eade890..450f700 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,10 @@ provision:
5 go build \ 5 go build \
6 go install 6 go install
7 7
8dev: 8dither:
9 bash dither-images.sh
10
11openring:
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
20dev: openring
16 alternator --watch 21 alternator --watch
17 22
18build: 23build:
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
33deploy: build 36deploy: 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