Skip to content

ci(deploy): trigger backend deploys on push to main, not develop - #75

Merged
tyrellcurry merged 1 commit into
mainfrom
ci/deploy-on-main
Aug 8, 2026
Merged

tyrellcurry merged 1 commit into
mainfrom
ci/deploy-on-main

Conversation

@tyrellcurry

Copy link
Copy Markdown
Owner

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.

  • deploy-backend.yml: trigger on push to main instead of develop.
  • Root and backend READMEs: updated the deploy description to match (day-to-day work on develop, a develop -> main PR is a release).
  • Small stray addition to backend/.gitignore (.vercel), harmless, defensive since backend has no Vercel project but doesn't hurt to ignore it there too.

@tyrellcurry tyrellcurry self-assigned this Aug 8, 2026
Copilot AI lite review requested due to automatic review settings August 8, 2026 03:30
@vercel

vercel Bot commented Aug 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
invoice-app Ready Ready Preview Aug 8, 2026 3:30am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 develop to main.
  • Update root and backend deployment docs to match the release flow (develop → PR into main).
  • Add .vercel to backend/.gitignore as 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.

@tyrellcurry
tyrellcurry merged commit 8c5fa23 into main Aug 8, 2026
10 checks passed
@tyrellcurry
tyrellcurry deleted the ci/deploy-on-main branch August 8, 2026 03:33

This branch was successfully deployed

1 active deployment
Preview — 806de686 Deployed Aug 8, 2026 by vercel[bot]
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