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

fix!: Distinguish between "Pleo" env and Github env in deployment #267

Merged

Conversation

macko911
Copy link
Contributor

@macko911 macko911 commented Oct 23, 2024

Fixes the following deploy error https://github.com/pleo-io/product-web/actions/runs/11483548110/job/31959328063

Currently it is expected that the name of Github environment we deploy to matches one of the "Pleo" environments as we define them in the Environment type

This is problematic for the spa-config-inject script which uses the name of the Github environment to find the appropriate config file.

We can't deploy multiple apps from one repo to the same Github environment.

@macko911 macko911 requested a review from a team as a code owner October 23, 2024 15:48
Copy link

linear bot commented Oct 23, 2024

@macko911 macko911 force-pushed the web-1557-fix-dummy-app-productionstaging-deploys branch from e4d6feb to 9d5e183 Compare October 23, 2024 15:59
@macko911 macko911 changed the title Distinguish between "Pleo" env and Github env in deployment fix: Distinguish between "Pleo" env and Github env in deployment Oct 23, 2024
@macko911 macko911 requested a review from Catchpowle October 23, 2024 16:17
@tkloht tkloht changed the title fix: Distinguish between "Pleo" env and Github env in deployment fix!: Distinguish between "Pleo" env and Github env in deployment Oct 28, 2024
Copy link
Contributor

@tkloht tkloht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed commit message to indicate a breaking change, otherwise looks good

@mortenbroesby mortenbroesby added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit 158c9ef Oct 28, 2024
23 of 28 checks passed
@mortenbroesby mortenbroesby deleted the web-1557-fix-dummy-app-productionstaging-deploys branch October 28, 2024 12:41
@github-actions github-actions bot mentioned this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants