arks-org / arks.github.io

https://arks-org.github.io/arks.github.io/
4 stars 5 forks source link

Enable ENV vars to override some settings #3

Closed datadavev closed 2 months ago

datadavev commented 1 year ago

It is necessary to override a couple config values for service the site at a root. In particular, _config.yml

domain: arks-org.github.io
baseurl: /arks.github.io
url: https://arks-org.github.io

values need to be replaced. Can we enable these to be overridden by environment variables or something similar?

whicks1 commented 1 year ago

In local build context, something along the lines of

bundle exec jekyll serve --config _config.yml,_config.local.yml