Use the production env
This commit is contained in:
parent
469906c790
commit
3aac13abd7
@ -51,3 +51,4 @@
|
|||||||
JEKYLL_HOST: "0.0.0.0"
|
JEKYLL_HOST: "0.0.0.0"
|
||||||
JEKYLL_PORT: "{{ http_port }}"
|
JEKYLL_PORT: "{{ http_port }}"
|
||||||
JEKYLL_CONFIG: "{{ jekyll_config }}"
|
JEKYLL_CONFIG: "{{ jekyll_config }}"
|
||||||
|
JEKYLL_ENV: "{{ jekyll_env }}"
|
||||||
|
@ -5,3 +5,4 @@ dokku_domain_ipv4: "94.130.105.60"
|
|||||||
domain: "site.autonomic.zone"
|
domain: "site.autonomic.zone"
|
||||||
http_port: "4000"
|
http_port: "4000"
|
||||||
jekyll_config: "_config_prod.yml"
|
jekyll_config: "_config_prod.yml"
|
||||||
|
jekyll_env: "production"
|
||||||
|
@ -6,6 +6,8 @@ set -eu -o pipefail
|
|||||||
run_jekyll() {
|
run_jekyll() {
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
export JEKYLL_ENV="$JEKYLL_ENV"
|
||||||
|
|
||||||
bundle exec jekyll serve \
|
bundle exec jekyll serve \
|
||||||
--config "$JEKYLL_CONFIG" \
|
--config "$JEKYLL_CONFIG" \
|
||||||
--host "$JEKYLL_HOST" \
|
--host "$JEKYLL_HOST" \
|
||||||
|
Reference in New Issue
Block a user