Skip to content

chore(release): staging to production - 2026.06.01 - #1087

Merged
ct3685 merged 1 commit into
productionfrom
staging
Jun 1, 2026
Merged

chore(release): staging to production - 2026.06.01#1087
ct3685 merged 1 commit into
productionfrom
staging

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

🚀 Release: Staging to Production

Release Date: 2026-06-01

Changes in this release


This PR is automatically created/updated when commits are pushed to staging.
Merging this PR will trigger the release workflow to create a new GitHub release.

## Summary
- Adds a Vercel edge `redirect` in `packages/docs/vercel.json` so that
hitting the root of `docs.theanswer.ai` issues a **301** to
`https://docs.theanswer.ai/docs/intro`.
- Host-scoped via a `has` host condition to `docs.theanswer.ai`, so the
`answeragent.ai` marketing landing page at `/` is unaffected.
- Uses `"statusCode": 301` explicitly (Vercel's `"permanent": true`
emits a 308, not a 301).

## Context
The docs site is a Docusaurus static build deployed on Vercel. Vercel
`redirects` are handled at the routing/edge layer and apply to static
deployments, so no app-level code is needed.

## Caveat / assumption
This only takes effect if `docs.theanswer.ai` is a domain attached to
**this** Vercel project (the `packages/docs` build). If that domain is
served by a separate project or a DNS/proxy-level redirect, this config
won't apply and the redirect should be configured there instead.

## Test plan
- [ ] After deploy, `curl -I https://docs.theanswer.ai/` returns `301`
with `location: https://docs.theanswer.ai/docs/intro`.
- [ ] `curl -I https://answeragent.ai/` is unchanged (still 200, no
redirect).
- [ ] Deep links like `https://docs.theanswer.ai/docs/intro` and other
docs paths are unaffected.
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
answerai-docs Building Building Preview Jun 1, 2026 5:56pm
the-answerai Building Building Preview Jun 1, 2026 5:56pm

Request Review

@ct3685
ct3685 merged commit e3757d9 into production Jun 1, 2026
6 of 9 checks passed
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck June 1, 2026 17:57 — with Render Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants