Repository navigation
ci(deploy): trigger backend deploys on push to main, not develop - #75
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the backend deployment workflow and related documentation to reflect main as the release branch, ensuring backend deploys occur when releases land on main (while day-to-day work continues on develop).
Changes:
- Switch backend deploy GitHub Actions trigger from
developtomain. - Update root and backend deployment docs to match the release flow (
develop→ PR intomain). - Add
.verceltobackend/.gitignoreas a defensive ignore.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
README.md |
Updates deployment narrative to state releases deploy from main (with develop as day-to-day). |
backend/README.md |
Aligns backend deployment documentation with main as the release branch. |
backend/.gitignore |
Ignores .vercel in the backend directory. |
.github/workflows/deploy-backend.yml |
Triggers backend deploy workflow on pushes to main instead of develop. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that main is the default/release branch and Vercel deploys from it, the backend's deploy-backend.yml was still only watching develop, so a release (a develop -> main PR) would update the frontend and GitHub's default branch but never actually redeploy the backend.