You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
My code is hosted on GitHub. The repo has two branches: main and stable. The application is hosted on vercel. The application names correspond to app-dev and app-stg. I found several problems:
When I submit the code to the main branch, the production deployment of app-dev and the preview deployment of app-stg will be triggered.
When I submit the code to the stable branch, the production deployment of app-stg and the preview deployment of app-dev will be triggered.
When submitting PR to the main branch, the preview deployment of app-dev and app-stg will be triggered.
When the pr is submitted from the main branch to the stable branch, the preview deployment of app-dev and app-stg will also be triggered.
ideal situation
When I submit the code to the main branch, only the production deployment of app-dev is triggered.
When I submit the code to the stable branch, only the production deployment of app-stg is triggered.
When submitting PR to the main branch, only the preview deployment of app-dev is triggered.
When submitting PR from the main branch to the stable branch, only the preview deployment of app-stg is triggered.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My code is hosted on GitHub. The repo has two branches:
mainandstable. The application is hosted on vercel. The application names correspond toapp-devandapp-stg. I found several problems:mainbranch, the production deployment ofapp-devand the preview deployment ofapp-stgwill be triggered.stablebranch, the production deployment ofapp-stgand the preview deployment ofapp-devwill be triggered.mainbranch, the preview deployment ofapp-devandapp-stgwill be triggered.mainbranch to thestablebranch, the preview deployment ofapp-devandapp-stgwill also be triggered.ideal situation
mainbranch, only the production deployment ofapp-devis triggered.stablebranch, only the production deployment ofapp-stgis triggered.mainbranch, only the preview deployment ofapp-devis triggered.mainbranch to thestablebranch, only the preview deployment ofapp-stgis triggered.Beta Was this translation helpful? Give feedback.
All reactions