Skip to content

fix(ci): skip docs build in release workflow#262

Merged
sadmann7 merged 1 commit intomainfrom
sadman/skip-docs-release-build
Feb 16, 2026
Merged

fix(ci): skip docs build in release workflow#262
sadmann7 merged 1 commit intomainfrom
sadman/skip-docs-release-build

Conversation

@sadmann7
Copy link
Owner

Summary

  • Updated release workflow to exclude docs package from build step using --filter=!docs
  • Aligns with CI workflow approach where docs are intentionally skipped
  • Fixes release workflow failure caused by fumadocs-mdx content generation

Context

The release workflow was failing at the docs:generate:content step. Since docs are built separately on Vercel during deployment, there's no need to build them in the release workflow.

Changes

  • Modified .github/workflows/release.yml to use pnpm turbo build --filter=!docs
  • Updated .github/workflows/main.yml step name for consistency

Docs are built separately on Vercel, so excluding them from release workflow to avoid fumadocs-mdx generation failure

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings February 16, 2026 13:22
@vercel
Copy link
Contributor

vercel bot commented Feb 16, 2026

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

Project Deployment Actions Updated (UTC)
diceui Building Building Preview, Comment Feb 16, 2026 1:22pm

Request Review

@sadmann7 sadmann7 changed the title fix: skip docs build in release workflow fix(ci): skip docs build in release workflow Feb 16, 2026
@sadmann7 sadmann7 merged commit d4d65d4 into main Feb 16, 2026
11 of 12 checks passed
@sadmann7 sadmann7 deleted the sadman/skip-docs-release-build branch February 16, 2026 13:23
Copy link
Contributor

Copilot AI left a comment

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 fixes a failing release workflow by excluding the docs package from the build step. The docs package is a Next.js application that requires fumadocs-mdx content generation during build, which was causing failures. Since docs are deployed separately on Vercel, they don't need to be built in the release workflow. This change aligns the release workflow with the existing CI workflow approach.

Changes:

  • Modified release workflow to use pnpm turbo build --filter=!docs instead of pnpm build
  • Updated step name in CI workflow from "Build packages (excluding docs)" to "Build packages"

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/release.yml Added --filter=!docs to exclude docs from build in release workflow
.github/workflows/main.yml Simplified step name by removing "(excluding docs)" suffix

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

- uses: ./.github/setup

- name: Build packages (excluding docs)
- name: Build packages
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The step name "Build packages" is inconsistent with the naming pattern used for other filtered steps in this workflow. The test step (line 72) uses "Test packages (excluding docs)" and the typecheck step (line 86) uses "Typecheck packages (excluding docs)". For consistency, this should either be "Build packages (excluding docs)" to match the other steps, or all step names should be simplified to remove the "(excluding docs)" suffix.

Suggested change
- name: Build packages
- name: Build packages (excluding docs)

Copilot uses AI. Check for mistakes.
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