Skip to content

fix(deploy): inline workflow for phenotype.space#565

Open
KooshaPari wants to merge 1 commit into
mainfrom
fix/deploy-workflow-inline
Open

fix(deploy): inline workflow for phenotype.space#565
KooshaPari wants to merge 1 commit into
mainfrom
fix/deploy-workflow-inline

Conversation

@KooshaPari
Copy link
Copy Markdown
Owner

@KooshaPari KooshaPari commented May 7, 2026

Fixes AgilePlus VitePress deployment for phenotype.space custom domain.

Changes:

  • Replaced reusable workflow with inline steps
  • Clone phenodocs and symlink @phenotype/docs
  • Set PHENOTYPE_CUSTOM_DOMAIN=true for root base path
  • Fixed artifact path

Note

Medium Risk
Moderate risk because it replaces the previously reused deployment workflow with custom inline steps and changes dependency wiring and artifact paths, which could break Pages builds/deploys if any step/path/token handling is incorrect.

Overview
Replaces the reusable vitepress-pages.yml workflow with an inline GitHub Pages deploy job that checks out the repo, sets up Bun/Pages, installs deps, builds, uploads the artifact, and deploys.

The workflow now clones KooshaPari/phenodocs and symlinks @phenotype/docs into docs/node_modules, configures GitHub Packages auth via GITHUB_TOKEN, sets PHENOTYPE_CUSTOM_DOMAIN="true" for the build, and updates the uploaded artifact path to docs/docs/.vitepress/dist.

Reviewed by Cursor Bugbot for commit fcb5115. Bugbot is set up for automated code reviews on this repo. Configure here.

- Replaced reusable workflow with inline steps
- Clone phenodocs to /tmp and symlink @phenotype/docs
- Set PHENOTYPE_CUSTOM_DOMAIN=true for root base path
- Fixed artifact path to docs/docs/.vitepress/dist
Copilot AI review requested due to automatic review settings May 7, 2026 00:48
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2026

Warning

Rate limit exceeded

@KooshaPari has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 14 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6a26f87d-93fc-4a7b-b31c-7b290ad92680

📥 Commits

Reviewing files that changed from the base of the PR and between bc834fb and fcb5115.

📒 Files selected for processing (1)
  • .github/workflows/deploy.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/deploy-workflow-inline
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch fix/deploy-workflow-inline

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 7, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Snyk Security Scan Results

Snyk vulnerability scan completed. View results in GitHub Code Scanning dashboard.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because on-demand usage is turned off. To enable Bugbot Autofix, turn on on-demand usage and set a spend limit in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fcb5115. Configure here.

run: |
# Link @phenotype/docs from phenodocs
mkdir -p docs/node_modules/@phenotype
ln -sf /tmp/phenodocs/packages/docs docs/node_modules/@phenotype/docs
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Symlink created in wrong nested directory path

High Severity

The working-directory: docs is already set for this step, so all commands run inside docs/. The mkdir -p docs/node_modules/@phenotype and ln -sf ... docs/node_modules/@phenotype/docs commands therefore create the symlink at docs/docs/node_modules/@phenotype/docs from the repo root. But bun install (same step, same working directory) uses docs/node_modules/ from repo root. The @phenotype/docs symlink ends up in a path that Node/Bun resolution won't find, causing the build to fail.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fcb5115. Configure here.

Copy link
Copy Markdown

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot Bot commented May 7, 2026

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 1
WARNING 0
SUGGESTION 0
Issue Details (click to expand)

CRITICAL

File Line Issue
.github/workflows/deploy.yml 39 Symlink created in wrong nested directory path - paths in mkdir and ln commands are incorrect given working-directory: docs
Other Observations (not in diff)

No additional observations outside the changed lines.

Files Reviewed (1 files)
  • .github/workflows/deploy.yml - 1 issue (existing comment)

Reviewed by laguna-m.1-20260312:free · 494,416 tokens

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