Skip to content

fix: remove --branch=main from deploy - #345

Merged
ajianaz merged 1 commit into
mainfrom
fix/no-branch-flag
Jun 14, 2026
Merged

ajianaz merged 1 commit into
mainfrom
fix/no-branch-flag

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

--branch=main causes deployments to not become production.

@ajianaz
ajianaz merged commit 3e49afd into main Jun 14, 2026
1 check passed
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
preCommands: npx wrangler pages project create uteke --production-branch=main || true
command: pages deploy docs/.vitepress/dist/ --project-name=uteke --commit-dirty=true --branch=main
command: pages deploy docs/.vitepress/dist/ --project-name=uteke --commit-dirty=true
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (1)

  • .github/workflows/deploy-website.yml:56 — The command was changed from pages deploy docs/.vitepress/dist/ --project-name=uteke --commit-dirty=true --branch=main to pages deploy docs/.vitepress/dist/ --project-name=uteke --commit-dirty=true, removing the explicit --branch=main. Since preCommands still creates the Pages project with --production-branch=main, omitting the branch here can cause deployments to be associated with the action's current git ref instead of main, potentially creating preview deployments or failing to update production.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz deleted the fix/no-branch-flag branch July 9, 2026 14:28
ajianaz added a commit that referenced this pull request Aug 13, 2026
fix: remove --branch=main from deploy
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