Skip to content

Fix: Allow hyphens in environment variables #9

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

Merged
merged 1 commit into from
May 13, 2025
Merged

Conversation

jens-kuerten
Copy link
Collaborator

@jens-kuerten jens-kuerten commented May 12, 2025

It was not possible to add environment variables that contain hyphens ( - ) in their value.
This is occasionally needed for certain API keys. (e.g. DeepL API-keys contain hyphen)

e.g. cfc env deploy myenv --environment-variables "KEY=abc-123:fx"

I fixed this by adjusting the regex.

@jens-kuerten jens-kuerten requested a review from conlwi May 12, 2025 15:41
@jens-kuerten jens-kuerten merged commit ebeff44 into main May 13, 2025
4 checks passed
@jens-kuerten jens-kuerten deleted the fix-env-var-regex branch May 13, 2025 07:08
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.

2 participants