From 95df760bc1571071a7f6b9f626ecd4e5e3b34adc Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 27 Jan 2021 15:10:46 +0100 Subject: Adde openring --- Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 186a58c..ac6aae3 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,19 @@ -deploy: +provision: + cd ~/Junk + git clone https://git.sr.ht/~sircmpwn/openring + cd openring + go build + go install + +build: + openring -n 4 -p 2 \ + -s https://drewdevault.com/feed.xml \ + -s https://danluu.com/atom.xml \ + < template/openring.tmpl \ + > template/openring-build.html + alternator --build - cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ \ No newline at end of file + rm template/openring-build.html + +deploy: build + cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ -- cgit v1.2.3