Add staging config for proper base_url

This commit is contained in:
Nick Pegg 2018-01-21 17:11:10 -08:00
parent a33427b982
commit 5c0e41d005
2 changed files with 21 additions and 1 deletions

View file

@ -6,7 +6,12 @@ clean:
build: build:
posty 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 gsutil -m rsync -c -d -r build/ gs://test2.nickpegg.com
# TODO: add a `publish` task when ready to roll to prod # TODO: add a `publish` task when ready to roll to prod

15
config.staging.yml Normal file
View file

@ -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