Add staging config for proper base_url
This commit is contained in:
parent
a33427b982
commit
5c0e41d005
2 changed files with 21 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -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
15
config.staging.yml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue