Skip to content

docs(readme): drop redundant skip-build methods and renumber - #366

Merged
amondnet merged 2 commits into
masterfrom
amondnet/readme-skip-build
Apr 30, 2026
Merged

docs(readme): drop redundant skip-build methods and renumber#366
amondnet merged 2 commits into
masterfrom
amondnet/readme-skip-build

Conversation

@amondnet

@amondnet amondnet commented Apr 30, 2026

Copy link
Copy Markdown
Owner

Summary

Cleaned up the "Skip vercel's build step" section by removing two methods that were redundant alongside the prebuilt-deployment approach.

Changes

Removed:

  • Method 1 - via vercel interface (UI toggle in the Vercel dashboard)
  • Method 2 - via project configuration (buildCommand override in vercel.ts / vercel.json)

Kept and renumbered:

  • Former Method 3 (Prebuilt deployments, recommended) → now Method 1
  • Former Method 4 (Build inside the action via vercel-build) → now Method 2

Updated two in-section cross-references that referred to "Method 3" → "Method 1".

Unchanged: The "Disable Vercel for GitHub" section was intentionally left as-is.

Rationale

The removed methods required users to configure things in the Vercel UI or override buildCommand in project config, but those approaches are superseded by the prebuilt-deployment pattern (now Method 1) which is already documented as the recommended path. Keeping them added noise and created confusion about which method to follow.


Summary by cubic

Simplified the README’s “Skip Vercel build step” by removing the UI toggle and project buildCommand override, consolidating around prebuilt deployments. Prebuilt deployments are now Method 1, building inside the action with vercel-build is Method 2; cross-references were updated and the vercel-build input now links to the correct Method 2 anchor.

Written for commit 75bb811. Summary will update on new commits. Review in cubic

- Remove 'Method 1 - via vercel interface' (UI-based toggle)
- Remove 'Method 2 - via project configuration' (buildCommand override in vercel.ts/vercel.json)
- Rename former 'Method 3 - Prebuilt deployments (recommended)' to Method 1
- Rename former 'Method 4 - Build inside the action (vercel-build)' to Method 2
- Update two in-section cross-references from 'Method 3' to 'Method 1'

The removed methods were redundant noise alongside the prebuilt-deployment
approach; keeping only the two actionable methods reduces doc surface area.
Copilot AI review requested due to automatic review settings April 30, 2026 03:18
@github-actions

github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for team-scope-test ready!

Project:team-scope-test
Status: ✅  Deploy successful!
Preview URL:https://team-scope-test-8ciuc0ks6-dietfriends.vercel.app
Latest Commit:75bb811

Deployed with vercel-action

@github-actions

github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for express-basic-auth ready!

Project:express-basic-auth
Status: ✅  Deploy successful!
Preview URL:https://express-basic-auth-j3u3c3ss1-minsu-lees-projects-b1e388b7.vercel.app
Latest Commit:75bb811

Deployed with vercel-action

@github-actions

github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for zeit-now-deployment-action-example-angular ready!

Project:zeit-now-deployment-action-example-angular
Status: ✅  Deploy successful!
Preview URL:https://zeit-now-deployment-action-example-angular-imcdij22c.vercel.app
Latest Commit:75bb811
Alias:https://staging.angular.vercel-action.amond.dev
Alias:https://pr-366.angular.vercel-action.amond.dev

Deployed with vercel-action

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR streamlines the README guidance for skipping Vercel’s build step by removing redundant approaches and renumbering the remaining recommended methods to reduce user confusion.

Changes:

  • Removed two “skip build” methods that relied on Vercel UI settings or buildCommand overrides.
  • Renumbered the remaining approaches so “Prebuilt deployments” is now Method 1 and vercel-build is now Method 2.
  • Updated in-section references from the old method numbers to the new ones.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Auto-approved: Documentation-only change: simplifies and renumbers instructions in README.md without affecting any source code or logic.

Architecture diagram
sequenceDiagram
    participant Runner as GitHub Actions Runner
    participant Action as Vercel Action
    participant CLI as Vercel CLI (Internal)
    participant Vercel as Vercel API / Platform

    Note over Runner, Vercel: Simplified Build-Skip Flow (Prebuilt Path)

    alt Method 1: Prebuilt (Manual Build)
        Runner->>CLI: vercel build
        CLI-->>Runner: Generate .vercel/output
        Runner->>Action: CHANGED: Invoke with prebuilt: true
        Action->>Action: Verify .vercel/output exists
    else Method 2: vercel-build (Managed Build)
        Runner->>Action: CHANGED: Invoke with vercel-build: true
        Action->>CLI: vercel pull (env setup)
        Action->>CLI: vercel build
        CLI-->>Action: Generate .vercel/output
    end

    Action->>Vercel: Upload .vercel/output (Build Output API)
    Note right of Vercel: Vercel skips standard build step
    Vercel-->>Action: Deployment Created
    Action-->>Runner: Output Deployment URL
Loading

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request simplifies the documentation by removing outdated deployment methods and renumbering the remaining sections. A review comment correctly identifies that renumbering 'Method 4' to 'Method 2' results in broken cross-references in other parts of the README and the action.yml file, which need to be updated to maintain documentation integrity.

Comment thread README.md
@amondnet amondnet self-assigned this Apr 30, 2026
The vercel-build input description in the Experimental API Deployment Inputs table still pointed to the old #method-4-... anchor. Update to #method-2-... to match the renumbered heading.
@sonarqubecloud

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Auto-approved: This is a documentation-only change that simplifies the README by removing redundant methods and updating internal cross-references. It carries no risk to the codebase.

@amondnet
amondnet merged commit 2c6dad5 into master Apr 30, 2026
13 of 14 checks passed
@amondnet
amondnet deleted the amondnet/readme-skip-build branch April 30, 2026 03:31
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