Deployment
Netlify
Netlify is the recommended deployment target for PoCs using RAD Template because it pairs cleanly with GitHub:
- Tight GitHub integration — connect the repository once and let Netlify manage build hooks for
main, release branches, or ad-hoc refs. - Deploy Previews — every pull request receives an isolated preview URL so reviewers and QA can validate UI, localization, and authentication changes without running the project locally.
- Branch auto-deploy — select a branch (e.g.,
mainorrelease/*) that should continuously ship to the production site, while other branches can map to staging/sandbox sites. - Next.js support — Netlify’s Next.js adapter handles Edge/SSR functions automatically and respects
npm run build.
Prerequisites
Before connecting a RAD Template project:
- Create a Netlify account (or join your team workspace).
- Ensure your GitHub account can access the RAD Template repository you plan to deploy.
- Confirm your project can run
npm run buildlocally before connecting CI.
Basic Netlify setup
- Connect repository: In Netlify, choose Import from Git → GitHub → select
your-rad-template-clone. - Build command:
npm run build. (This runs the Vite build first, then the Next.js build.) - Publish directory:
.next. - Environment variables: configure the same values found in
.env.local, such asRAD_URL,AUTH_SECRET,AUTH_KEYCLOAK_*, andBYPASS_AUTHfor preview environments. Netlify supports per-environment overrides so you can keep production secrets separate from previews. - Deploy contexts: enable Deploy Previews for pull requests and branch deploys for long-lived environments (e.g., map
developto a QA site).
After Netlify finishes a deploy, it posts status checks back to GitHub. Combine those with GitHub Actions workflows in .github/workflows/ for full CI/CD coverage (lint/tests via Actions, hosting via Netlify).
Operational tips
- Use the Netlify CLI (
netlify link+netlify deploy) when you need to generate an on-demand preview that is not tied to a PR. - Keep Playwright E2E runs pointed at the Netlify preview URL by overriding the
rad_urlinput in theE2E Testsworkflow. - When adding new environment variables, update Netlify’s Env UI and document the change in
.env.exampleso the settings stay in sync.
In-progress target: Bedrock cluster
The team is also investing in a Bedrock cluster deployment path for Shared Service development. This is still under active development.
Updates on the Bedrock work will be published here as it becomes available.