From 5c0e41d00593b6ae34cad3e5419c7979d52d66f1 Mon Sep 17 00:00:00 2001 From: Nick Pegg Date: Sun, 21 Jan 2018 17:11:10 -0800 Subject: [PATCH] Add staging config for proper base_url --- Makefile | 7 ++++++- config.staging.yml | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 config.staging.yml 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