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

Set KAMAL_DESTINATION when loading config #1019

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nickhammond
Copy link
Contributor

No description provided.

@jeromedalbert
Copy link
Contributor

jeromedalbert commented Oct 1, 2024

I'm glad to see that this issue is being tackled. I have needed ENV['KAMAL_DESTINATION'] in my config/deploy.yml so I can do Dotenv.load(".kamal/secrets.#{ENV['KAMAL_DESTINATION']}") or something similar with Dotenv.parse.

This PR would remove my hacky workaround of pre-parsing the destination from ARGV in my bin/kamal binstub and setting the environment variable then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants