23 lines
341 B
Makefile
23 lines
341 B
Makefile
STAGING_SITE = test.nickpegg.com
|
|
|
|
all: clean build stage
|
|
|
|
stage: clean stage_build stage_publish
|
|
|
|
prod: clean build publish
|
|
|
|
clean:
|
|
rm -rf build
|
|
|
|
build:
|
|
posty build
|
|
|
|
publish:
|
|
rsync -auvP build/ deploy.nickpegg.com:web
|
|
|
|
|
|
stage_build:
|
|
posty build -c config.staging.yml
|
|
|
|
stage_publish:
|
|
gsutil -m rsync -c -d -r build/ gs://$(STAGING_SITE)
|