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

Parse environment variables in the config.yaml file #155

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jun 1, 2022

This PR closes #154 and adds support for parsing environment variables in the config.yaml file

In #132 we added support for adding a ~/.joomlatools/console/config.yaml file as an override for default arguments.

We now parse and replace the environment variables in this file so the following file could be used successfully:

globals:
  www: $APP_ROOT/sites
"site:create":
  options: $HOME/.joomlatools/console/site-configuration.yaml

@github-actions github-actions bot added this to the 2.0 milestone Jun 1, 2022
@ercanozkaya ercanozkaya merged commit ec7146b into master Jun 1, 2022
@ercanozkaya ercanozkaya deleted the feature/154-env branch June 1, 2022 13:01
ercanozkaya added a commit to joomlatools/joomlatools-server that referenced this pull request Jun 1, 2022
@ercanozkaya ercanozkaya modified the milestones: 2.0, v2.0.0 Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse environment variables in the config.yaml file
1 participant