Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate configuration for staging sites #97

Open
skalee opened this issue Jun 4, 2020 · 0 comments
Open

Separate configuration for staging sites #97

skalee opened this issue Jun 4, 2020 · 0 comments

Comments

@skalee
Copy link
Contributor

skalee commented Jun 4, 2020

Staging sites will have a slightly different configuration. A good example is url setting which is used to build absolute URLs. For example, TC211 site has the url set to https://isotc211.geolexica.org/, but it is only valid for production site, whereas for staging site it should be https://isotc211-staging.geolexica.org/.

One way to fix that is to define a separate configuration for staging site and provide it via CLI parameter, for example:

jekyll build --config _config.yml,_config_development.yml

which means that both configuration files should be merged in a way that the latter takes precedence (see Jekyll docs).

@skalee skalee changed the title Configure configuration for staging sites Separate configuration for staging sites Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant