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

Add environment variables via deploy #143

Open
Firesphere opened this issue Mar 17, 2024 · 0 comments
Open

Add environment variables via deploy #143

Firesphere opened this issue Mar 17, 2024 · 0 comments

Comments

@Firesphere
Copy link

Use case:
When deploying an app, I would like to be able to pass temporary variables to the build, that are not needed after the build is complete.
An example of this, is the version number, I want to deploy a new version of the app. But because my git folder isn't uploaded, during build, I do not have access to the git tag.

However, after successful build of an app, I want to inform Sentry of this new release.
I do not want to inform sentry of this new version number, if the build fails, because that would cause incorrect information in Sentry.

Thus, I'd like to be able to do something along the lines of caprover deploy --default --buildParams={version:1.2.3}

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

No branches or pull requests

1 participant