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

chore: prepare for niployments #97

Merged
merged 2 commits into from
Aug 14, 2024
Merged

Conversation

limwa
Copy link
Member

@limwa limwa commented Aug 13, 2024

Must be merged after #96

@limwa limwa changed the base branch from refactor/postgres to develop August 14, 2024 22:24
@tomaspalma
Copy link
Member

I have a question, why was it needed to add the TTS_FE_VARS_CONTENT to the niployments action on the pr and not a similar logic here?

@limwa
Copy link
Member Author

limwa commented Aug 14, 2024

In the frontend, the variables are needed at build-time because Vite does environment variable substitution at build-time. In the backend, the variables are only read at run-time and so, they can be provided later, when the deployment is created, instead of when the image is created.

@limwa limwa merged commit 493a746 into develop Aug 14, 2024
@thePeras thePeras deleted the chore/prepare-for-niployments branch August 16, 2024 08:46
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