Files
retro-gamer/Makefile
2026-06-22 22:18:59 -04:00

15 lines
360 B
Makefile

S3_BUCKET = s3://docs.makingwithcode.org/retro-gamer/
CF_DISTRIBUTION = EPA6NHZ2LEH1A
.PHONY: build deploy clean
build:
uv run --group documentation $(MAKE) -C docs html
deploy: build
aws s3 sync docs/_build/html $(S3_BUCKET)
aws cloudfront create-invalidation --distribution-id $(CF_DISTRIBUTION) --paths "/retro-gamer/*"
clean:
$(MAKE) -C docs clean