.PHONY: build publish createstack updatestack

build:
	yarn install
	yarn build

publish: build
	aws s3 cp --recursive build s3://${S3_BUCKET}/${STACK_NAME}/latest

run:
	yarn start

createstack:
	aws cloudformation create-stack --stack-name vhs-web --template-body file://cloudformation/app.yaml

updatestack:
	aws cloudformation update-stack --stack-name vhs-web --template-body file://cloudformation/app.yaml
