aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 48ab2d71f4f07922f21c35e51c0f90e79ffab6ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
dev: openring
	hugo server --bind=0.0.0.0

deploy: openring
	hugo --gc --minify
	rsync -az --delete public/ root@165.22.87.180:/var/www/html/mitjafelicijan.com/
	ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf

openring:
	openring -l 165 -n 6 -p 1 \
		-s https://drewdevault.com/feed.xml \
		-s https://danluu.com/atom.xml \
		-s https://mirzapandzo.com/feed/feed.xml \
		-s https://serokell.io/blog.rss.xml \
		-s https://cronokirby.com/posts/index.xml \
		-s https://www.jeffgeerling.com/blog.xml \
		< themes/simple/openring/openring.html \
		> themes/simple/layouts/partials/openring.html

provision:
	cd ~/Junk \
	git clone https://git.sr.ht/~sircmpwn/openring \
	cd openring \
	go build \
	go install