about summary refs log tree commit diff
path: root/tools/govanity/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-11 18:45:05 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-11 18:46:55 -0700
commitec02496f673820244fabb3fadc903d1315218497 (patch)
treec7b7cc612d8303aec7d1fe5f093dc30a0d1f6bcb /tools/govanity/Makefile
parentDockerfile: update steps (diff)
downloadworld-ec02496f673820244fabb3fadc903d1315218497.tar.gz
scripts: add a script to deploy
Remove the target from the Makefile, add a target to the flake
configuration.
Diffstat (limited to 'tools/govanity/Makefile')
-rw-r--r--tools/govanity/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/govanity/Makefile b/tools/govanity/Makefile
index 9632386..6392551 100644
--- a/tools/govanity/Makefile
+++ b/tools/govanity/Makefile
@@ -5,7 +5,7 @@ DOCKER_IMAGE_REF := $(shell git rev-parse HEAD)
 DOCKERFILE := Dockerfile
 PROJECT_DIR := $(realpath $(CURDIR))
 
-.PHONY: deploy docker-build docker-run worktree-clean server
+.PHONY: docker-build docker-run worktree-clean server
 
 server:
 	@echo "Running server ..."
@@ -15,11 +15,6 @@ worktree-clean:
 	git diff --exit-code
 	git diff --staged --exit-code
 
-deploy: worktree-clean docker-build
-	@echo "Deploying to fly ..."
-	flyctl deploy
-	git tag -a --message $$(flyctl info -j |jq -r '.App | "\(.Name)/v\(.Version)"') $$(flyctl info -j |jq -r '.App | "\(.Name)/v\(.Version)"')
-
 docker-build:
 	@echo "Building Docker image ..."
 	$(DOCKER) build $(DOCKER_BUILD_ARGS) \