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