summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-25 15:14:42 +0100
committera73x <[email protected]>2024-08-25 15:14:42 +0100
commit1b496432df1dc28b25eaeadec5fa537aaf014f98 (patch)
tree5d74e20a338c6487302693bc837afc27904ee3ab /Makefile
parentfea0ef77c8c98dfadd2f9d29804653293fd31c99 (diff)
feat(post): templating
add templating for posts and first post
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index d791247..83d165e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,18 @@
-.PHONY: fly
+VERSION=0.0.1
+DOCKER_IMAGE=alexemery/home:${VERSION}
+.PHONY: fly
fly:
cd proxy && fly deploy
-.PHONY: content
-content:
- go run ./cmd/generate
-
-.PHONY: serve
-serve: content
+.PHONY: serve
+serve:
go run ./cmd/home
+
+.PHONY: image
+image:
+ docker build . -t ${DOCKER_IMAGE}
+
+.PHONY: public
+public: image
+ docker push ${DOCKER_IMAGE}