Add deploy script with dry-run, retry, rollback and health checks
This commit is contained in:
@@ -4,7 +4,7 @@ GO?=go
|
||||
LDFLAGS=-s -w -X main.version=$(VERSION) -X main.commit=$(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
|
||||
BUILD_FLAGS=CGO_ENABLED=0
|
||||
|
||||
.PHONY: build build-all build-go frontend run package clean tidy test
|
||||
.PHONY: build build-all build-go frontend run package clean tidy test deploy
|
||||
|
||||
frontend:
|
||||
cd web && npm install && npm run build
|
||||
@@ -47,3 +47,6 @@ tidy:
|
||||
|
||||
test:
|
||||
$(GO) test ./...
|
||||
|
||||
deploy:
|
||||
./scripts/deploy.sh
|
||||
|
||||
Reference in New Issue
Block a user