Add deploy, logs, status targets to Makefile
This commit is contained in:
parent
feadaf1b3e
commit
3bcb823909
17
Makefile
17
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: dev serve lint fmt build publish help
|
.PHONY: dev serve lint fmt build publish deploy logs status help
|
||||||
|
|
||||||
# Development server with auto-reload
|
# Development server with auto-reload
|
||||||
dev:
|
dev:
|
||||||
@ -26,6 +26,18 @@ build:
|
|||||||
publish: build
|
publish: build
|
||||||
uv publish
|
uv publish
|
||||||
|
|
||||||
|
# Deploy to Fly.io
|
||||||
|
deploy:
|
||||||
|
fly deploy -a chess-pressure
|
||||||
|
|
||||||
|
# Tail production logs
|
||||||
|
logs:
|
||||||
|
fly logs -a chess-pressure
|
||||||
|
|
||||||
|
# Production status
|
||||||
|
status:
|
||||||
|
fly status -a chess-pressure
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "chess-pressure"
|
@echo "chess-pressure"
|
||||||
@echo ""
|
@echo ""
|
||||||
@ -35,3 +47,6 @@ help:
|
|||||||
@echo " make fmt ruff format + auto-fix"
|
@echo " make fmt ruff format + auto-fix"
|
||||||
@echo " make build build sdist + wheel"
|
@echo " make build build sdist + wheel"
|
||||||
@echo " make publish build + publish to PyPI"
|
@echo " make publish build + publish to PyPI"
|
||||||
|
@echo " make deploy deploy to Fly.io"
|
||||||
|
@echo " make logs tail production logs"
|
||||||
|
@echo " make status Fly.io app status"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user