You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enable GitHub Pages preview deployments for all branches/PRs
- Trigger workflow on all branches and PRs (not just main)
- Deploy main to root, other branches to preview/<branch>/ subdirectory
- Auto-comment preview URL on PRs
- Add cleanup workflow to remove previews when PRs close
- Add dynamic basePath/assetPrefix support via NEXT_BASE_PATH env var
- Switch from deploy-pages API to peaceiris/actions-gh-pages for multi-preview support
allowedDevOrigins: ['https://api.codebuilder.org','https://new.codebuilder.org','https://new.codebuilder.org:443','https://dev.codebuilder.org','https://dev.codebuilder.org:443'],// resolves the CORS warning
30
+
allowedDevOrigins: [
31
+
'https://api.codebuilder.org',
32
+
'https://new.codebuilder.org',
33
+
'https://new.codebuilder.org:443',
34
+
'https://dev.codebuilder.org',
35
+
'https://dev.codebuilder.org:443',
36
+
],// resolves the CORS warning
28
37
29
38
// Note: If you are using next/image, you may need to add an
30
39
// unoptimized: true flag here if you are not using a custom loader.
@@ -65,7 +74,7 @@ const nextConfig = {
65
74
66
75
returnconfig
67
76
},
68
-
}asunknownasNextConfig;
77
+
}asunknownasNextConfig
69
78
70
79
// // Only include page.* files for static export, include route.* for all other builds
0 commit comments