Commit d26a254
authored
feat(docs): migrate from AWS Amplify to GitHub Pages deployment (#5)
* feat(docs): add Amplify redirects for /hub/ subpath
Add _redirects file to handle Amplify routing for Docusaurus site served at /hub/ path
* fix(docs): configure rewrites for /hub/ subdirectory deployment
- Update _redirects file with proper asset rewrite rules for AWS Amplify
- Add security headers to amplify.yml
- Ensure asset paths (/hub/assets/*) are correctly mapped to build outputs
Fixes asset loading issues when serving docs from /hub/ subpath
* feat(docs): migrate from AWS Amplify to GitHub Pages deployment
- Remove amplify.yml and Amplify-specific configuration
- Remove _redirects file (not needed for GitHub Pages)
- Add GitHub Actions workflow for automated deployment
- Deploy docs to GitHub Pages on push to main
- Configure CNAME for formbricks.com
The workflow automatically builds and deploys documentation to
gh-pages branch on every commit to main.
* chore(docs): update Node.js version to 22 LTS in workflow
* chore(docs): update pnpm version to 10 in workflow
* fix(docs): remove CNAME from GitHub Pages deployment
CNAME conflicts with DNS records for main marketing site.
Using Next.js rewrites instead, so docs will be accessible via
formbricks.com/hub/ without requiring DNS changes.
* feat(docs): configure hub.formbricks.com subdomain deployment
- Add CNAME for hub.formbricks.com in GitHub Pages deployment
- Update Docusaurus URL to https://hub.formbricks.com
- Change baseUrl from /hub/ to / for root-level hosting
- This provides a cleaner subdomain approach for marketing purposes
DNS Setup Required:
Add CNAME record: hub.formbricks.com -> formbricks.github.io1 parent aa5f70a commit d26a254
File tree
3 files changed
+50
-24
lines changed- .github/workflows
- apps/docs
3 files changed
+50
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments