Skip to content

Add Deploy to PandaStack button#390

Open
ajaysourcedigital wants to merge 1 commit into
Blazity:mainfrom
ajaysourcedigital:add-pandastack-deploy-button
Open

Add Deploy to PandaStack button#390
ajaysourcedigital wants to merge 1 commit into
Blazity:mainfrom
ajaysourcedigital:add-pandastack-deploy-button

Conversation

@ajaysourcedigital

@ajaysourcedigital ajaysourcedigital commented May 12, 2026

Copy link
Copy Markdown

PandaStack

Add Deploy to PandaStack button

This PR adds a Deploy to PandaStack button alongside the existing Vercel button.

PandaStack is a cloud deployment platform — supports static sites, containerized apps, databases, cronjobs, and more. A great alternative hosting option for your users.

What this adds

[![Deploy to PandaStack](https://dashboard.pandastack.io/deploy-button.svg)](https://dashboard.pandastack.io/deploy?repo=Blazity/next-enterprise)

Happy to adjust build settings or output directory if needed. Feel free to close if you'd prefer to keep one button. 🙂

Summary by CodeRabbit

  • Documentation
    • Added a PandaStack deployment option to the deployment section of the README.

Review Change Stack

@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

@ajaysourcedigital is attempting to deploy a commit to the Blazity Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented May 12, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

A single line was added to README.md to include a "Deploy to PandaStack" button link in the deployment section, positioned alongside the existing Vercel deployment button.

Changes

Documentation Updates

Layer / File(s) Summary
PandaStack deployment button
README.md
Added a PandaStack deployment button/link to the deployment section for users.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A button hops into the README's light,
PandaStack joins the deployment site,
One line added, one link so grand,
Deployment options, side by side they stand! 🚀

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a Deploy to PandaStack button to the README, which aligns with the raw summary and PR objectives.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Warning

⚠️ This pull request might be slop. It has been flagged by CodeRabbit slop detection and should be reviewed carefully.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 64: Update the PandaStack deployment URL in README.md so the outputDir
matches Next.js's build output by changing outputDir=dist to outputDir=.next,
and resolve the static-export mismatch by either removing the type=static
parameter from the URL or enabling static export in next.config.js (add output:
'export' to the NextConfig) depending on whether you intend to perform a static
export; ensure you update the README link accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5e06bd6f-6a94-4e5c-b3f9-5e93eeaff8cc

📥 Commits

Reviewing files that changed from the base of the PR and between e5e9735 and 316b019.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Easily deploy your Next.js app with [Vercel](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=github&utm_campaign=next-enterprise) by clicking the button below:

[![Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise)
[![Deploy to PandaStack](https://dashboard.pandastack.io/deploy-button.svg)](https://dashboard.pandastack.io/deploy?repo=Blazity/next-enterprise&type=static&buildCmd=npm+run+build&outputDir=dist)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚖️ Poor tradeoff

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify Next.js build configuration for PandaStack deployment

echo "=== Checking build command in package.json ==="
if [ -f "package.json" ]; then
  cat package.json | jq -r '.scripts.build // "not found"'
else
  echo "package.json not found"
fi

echo -e "\n=== Checking Next.js output configuration ==="
if [ -f "next.config.js" ] || [ -f "next.config.mjs" ] || [ -f "next.config.ts" ]; then
  echo "Next.js config file found:"
  fd -e js -e mjs -e ts '^next\.config\.' --max-depth 1 --exec cat {}
else
  echo "No next.config file found"
fi

echo -e "\n=== Checking for dist directory or custom output ==="
rg -n "distDir|output" next.config.* 2>/dev/null || echo "No custom output directory configuration found"

echo -e "\n=== Typical Next.js output directories ==="
echo "Standard build: .next/"
echo "Static export: out/ (default) or custom via next.config"
echo "Current PandaStack config: dist/"

Repository: Blazity/next-enterprise

Length of output: 1048


🏁 Script executed:

#!/bin/bash
# Description: Verify PandaStack URLs are accessible

echo "=== Checking PandaStack deploy button image ==="
curl -I -s -o /dev/null -w "%{http_code}" https://dashboard.pandastack.io/deploy-button.svg

echo -e "\n=== Checking PandaStack dashboard ==="
curl -I -s -o /dev/null -w "%{http_code}" https://dashboard.pandastack.io/deploy

Repository: Blazity/next-enterprise

Length of output: 160


Fix incorrect output directory in PandaStack deployment URL.

The deployment URL specifies outputDir=dist, but the Next.js build is configured to output to .next/ (the default for next build). The next.config.js has no custom output directory configuration, so the dist directory will not exist after building, causing deployment to fail. Change outputDir=dist to outputDir=.next.

Additionally, the type=static parameter suggests a static export, but the project is not configured for it—there's no output: 'export' in next.config.js. Either remove type=static or add the static export configuration to next.config.js.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 64, Update the PandaStack deployment URL in README.md so
the outputDir matches Next.js's build output by changing outputDir=dist to
outputDir=.next, and resolve the static-export mismatch by either removing the
type=static parameter from the URL or enabling static export in next.config.js
(add output: 'export' to the NextConfig) depending on whether you intend to
perform a static export; ensure you update the README link accordingly.

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.

1 participant