aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2021-01-24 01:42:03 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2021-01-24 01:42:03 +0100
commite07ab67bf95ea7e65828e373c731b6cdf984a7de (patch)
tree4fe471a1a8492149bb0b3e6ec726184e3bcf1647 /Makefile
parent36fb49bbef11294a93a53c363d32c2134f6b19b4 (diff)
downloadmitjafelicijan.com-e07ab67bf95ea7e65828e373c731b6cdf984a7de.tar.gz
Moved to altenator and DO
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 3 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 220378e..186a58c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,3 @@
1MAKEFLAGS += -j2 1deploy:
2 2 alternator --build
3dev: server watch 3 cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ \ No newline at end of file
4
5watch:
6 find content/* templates/* static/* | entr make generate
7
8server:
9 browser-sync start --server ./public --watch --no-open --no-notify
10
11clean:
12 rm -rf public/*
13
14generate:
15 staticgen --generate
16
17deploy: clean generate copy-weekly-links
18 firebase deploy
19
20copy-weekly-links:
21 mkdir -p public/weekly-newsletter-archive
22 cp -rf newsletter/generated/* public/weekly-newsletter-archive/