Skip to content

docs: refresh deployment section for unified workflow + bump Next.js to 16#51

Merged
JohnRDOrazio merged 2 commits intomainfrom
docs/readme-deploy-and-version-update
May 1, 2026
Merged

docs: refresh deployment section for unified workflow + bump Next.js to 16#51
JohnRDOrazio merged 2 commits intomainfrom
docs/readme-deploy-and-version-update

Conversation

@JohnRDOrazio
Copy link
Copy Markdown
Member

@JohnRDOrazio JohnRDOrazio commented May 1, 2026

Summary

Two issues the README didn't reflect:

  1. Tech-stack header said "Next.js 15"; package.json has been
    on ^16.2.4 for a while.
  2. Deployment section described an outdated single-trigger
    workflow
    that only deployed to production on release: published, and listed a stale, partially-incorrect mix of
    secrets and variables.

Changes

  • Production/Staging Architecture section now covers all three
    subdomains and explains that staging shares the production
    WordPress backend
  • Notes the proxy.ts noindex behavior so future readers understand
    why staging never appears in search results
  • Documents that runtime env lives in the Plesk panel (not in
    .env files on disk), distinguishing it from the build-time
    NEXT_PUBLIC_SITE_URL baked into the client bundle
  • GitHub Actions section rewritten for the unified deploy.yml:
    • Both triggers (release, workflow_dispatch with environment
      input)
    • gh CLI examples for non-interactive deploys
    • Mentions the pr-build.yml required check
  • Required-config table split into Secrets (credentials) and
    Variables (plain config), listing exactly what the unified
    workflow reads

Sequencing note

This PR assumes #50 (workflow unification) lands first. If
sequencing flips, the gh CLI command syntax in this README is
wrong until #50 merges.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated supported Next.js version from 15 to 16.
    • Expanded deployment documentation to include staging environment configuration on a shared host.
    • Revised CI/CD workflow documentation with updated build processes and environment selection.
    • Updated required secrets and configuration variables for deployment.

…to 16

Two issues the README didn't reflect:

1. Tech-stack header said "Next.js 15"; package.json has been on
   ^16.2.4 for a while.

2. Deployment section described an outdated single-trigger workflow
   that only deployed to production on `release: published`, and
   listed a stale, partially-incorrect mix of secrets and variables.

Updates:

- Production / Staging Architecture section now lists all three
  subdomains (catholicdigitalcommons.org,
  staging.catholicdigitalcommons.org, cms.catholicdigitalcommons.org)
  and explains that staging shares the production WordPress backend.
- Notes the proxy.ts noindex behavior so anyone reading the README
  understands why staging never appears in search results.
- Documents that runtime env (WP_GRAPHQL_URL, WP_PREVIEW_SECRET) is
  configured in the Plesk panel, not in .env files on disk.
  Distinguishes that from NEXT_PUBLIC_SITE_URL which is baked into
  the client bundle at build time.

GitHub Actions section rewritten for the unified deploy.yml:
- Documents both triggers (release and workflow_dispatch with
  environment input)
- Adds gh CLI examples for non-interactive deploys
- Mentions the pr-build.yml required check
- Reorganizes the required-config table into separate Secrets
  (credentials) and Variables (plain config) sections, listing all
  the entries the unified workflow actually reads:
  - secrets: VPS_HOST, VPS_USERNAME, VPS_SSH_KEY, WP_APP_USERNAME,
    WP_APP_PASSWORD
  - vars: WP_GRAPHQL_URL, WP_REST_URL, NEXT_PUBLIC_SITE_URL_PROD,
    NEXT_PUBLIC_SITE_URL_STAGING, VPS_APP_DIR, VPS_STAGING_APP_DIR,
    WP_THEME_DIR, WP_PLUGINS_DIR

Note: assumes PR #50 (workflow unification) lands first. If the
sequencing flips, the gh CLI command syntax in this README will be
wrong until #50 merges.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

Warning

Rate limit exceeded

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

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 312085e4-95df-4c98-be18-c3396bedf89c

📥 Commits

Reviewing files that changed from the base of the PR and between 3d07ceb and 46f0497.

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

Walkthrough

README.md is updated to document Next.js version 16 migration and a revised deployment architecture supporting both production and staging environments on a single Plesk host, including updated CI/CD workflows and configuration requirements.

Changes

Cohort / File(s) Summary
Documentation
README.md
Updated Next.js version reference (15 → 16), expanded deployment documentation for production + staging setup with separate staging frontend subdomain, revised CI/CD workflow descriptions (deploy.yml with environment parameterization and new pr-build.yml), documented X-Robots-Tag injection for non-production hosts, and consolidated required secrets and variables documentation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Possibly related PRs

Poem

🐰 A staging realm now blooms beside the prod,
Next.js sixteen hops with a lighter nod,
CI workflows dance in parameterized grace,
No-index tags shield staging's sacred space. 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title directly addresses the two main changes: refreshing the deployment section for the unified workflow and bumping Next.js version to 16, both prominently featured in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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
  • Commit unit tests in branch docs/readme-deploy-and-version-update

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
Review rate limit: 0/1 reviews remaining, refill in 56 minutes and 11 seconds.

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

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 1, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

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 the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 310-327: The README's deploy command examples and description are
inconsistent with the current workflows: the repo still uses separate
deploy-staging.yml and deploy.yml and deploy.yml's workflow_dispatch has no
environment input. Fix by either (A) updating README examples and text to show
the real commands (use gh workflow run deploy-staging.yml --ref main for staging
and gh workflow run deploy.yml --ref main for production, and remove references
to an environment input), or (B) change the workflows to match the doc by adding
an environment input to deploy.yml's workflow_dispatch and consolidating staging
logic into deploy.yml (and remove or deprecate deploy-staging.yml); reference
deploy.yml, deploy-staging.yml, and the workflow_dispatch input to locate and
update the relevant files.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 980669b2-f226-46d7-adad-053b02196f1b

📥 Commits

Reviewing files that changed from the base of the PR and between 437a544 and 3d07ceb.

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

Comment thread README.md
Five badges in a row under the title:

- Next.js, React, TypeScript, Tailwind CSS — all read from
  package.json on main via shields.io's
  /github/package-json/dependency-version endpoint, so they update
  automatically whenever dependencies bump (no more drift like the
  "Next.js 15" header that was wrong for months)
- PR Build — the new pr-build.yml workflow status on main, so
  anyone glancing at the README sees green/red at a glance

Each links to the project's homepage. No license badge: package.json
has no license field and there's no LICENSE file in the repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JohnRDOrazio JohnRDOrazio merged commit 92646d8 into main May 1, 2026
10 checks passed
@JohnRDOrazio JohnRDOrazio deleted the docs/readme-deploy-and-version-update branch May 1, 2026 11:52
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