diff --git a/Makefile b/Makefile index d3b2477..3f9fd31 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,12 @@ clean: build: posty build -stage: +stage: clean stage_build stage_push + +stage_build: + posty build -c config.staging.yml + +stage_push: gsutil -m rsync -c -d -r build/ gs://test2.nickpegg.com # TODO: add a `publish` task when ready to roll to prod diff --git a/config.staging.yml b/config.staging.yml new file mode 100644 index 0000000..bb9f999 --- /dev/null +++ b/config.staging.yml @@ -0,0 +1,15 @@ +author: Nick Pegg +title: Nick Pegg +# description: '' +base_url: https://test2.nickpegg.com/ + +num_top_tags: 5 +num_posts_per_page: 5 + +feeds: + rss: True + atom: True + +# Backward compatibility tunables +compat: + redirect_posty1_urls: True