-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (15 loc) · 851 Bytes
/
Makefile
File metadata and controls
22 lines (15 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Default to K8s-based workflows. Override with: N8N_DIR=n8n_standalone make deploy-all
N8N_DIR ?= n8n_claude_k8s
.PHONY: setup deploy deploy-all list-workflows build help
setup: ## First-time setup: create credentials + workflows on n8n
python3 $(N8N_DIR)/deploy.py --setup
deploy-all: ## Deploy all workflows to n8n
python3 $(N8N_DIR)/deploy.py
deploy-%: ## Deploy a specific workflow (e.g. make deploy-02-pr-ai-review)
python3 $(N8N_DIR)/deploy.py $*
build-%: ## Build a specific workflow JSON to stdout (e.g. make build-02-pr-ai-review)
python3 $(N8N_DIR)/deploy.py --build-only $*
list-workflows: ## List available workflows and their IDs
python3 $(N8N_DIR)/deploy.py --list
help: ## Show this help
@grep -E '^[a-zA-Z_%-]+:.*##' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*## "}; {printf " \033[36m%-25s\033[0m %s\n", $$1, $$2}'