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

refactor(website,cli,serverless): introduce production/preview deployments #238

Merged
merged 10 commits into from Nov 5, 2022

Conversation

QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented Nov 5, 2022

About

Previously, deployments were marked as "current" or "non-current". This PR makes it clear that a deployment can either be a production one, or a non-production one. The only difference is that production deployments are automatically assigned with the function's default domain and any additional domains. Both production and non-production deployments always have a subdomain assigned, which is the deployment id.

Following this logic, a new --production (or --prod) option has been added to lagon deploy, which defaults to false.

Also, "Rollback" has been renamed to "Promote" ("Promote to Production") to better match this new behavior.

@QuiiBz QuiiBz marked this pull request as ready for review November 5, 2022 11:32
@QuiiBz QuiiBz merged commit 045977c into main Nov 5, 2022
@QuiiBz QuiiBz deleted the refactor/website-isproduction branch November 5, 2022 11:32
@QuiiBz QuiiBz mentioned this pull request Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant