Will my "product" experience downtime when I publish my "codebase"/"admin panel"

I'm working on a classic "link-in-bio" project, where the "product" (profile page) is small and will almost never receive updates. The admin panel part is however big and will be updated most. The project is just solidjs (not start). I'm hosting on AWS amplify and when I push my codebase to Git, it publishes the website. 1. Will the "product"/profile experience downtime when the codebase is being published? 2. Can I somehow ignore publishing the <Page /> if there are no changes? (Or is this already how it works?) The app looks something like this:
import Page from './pages/page';
const Home = lazy(() => import("./pages"));
const Admin = lazy(() => import("./pages/admin"))

...

if (subdomain && !is_www) {
render(() => (
<MetaProvider>
<Page username={subdomain} />
</MetaProvider>
), document.getElementById("root")!)
} else {
render(() => (
<MetaProvider>
<Router>
<Route path="/privacy-policy" component={PrivacyPolicy} />
<Route path="/terms-and-conditions" component={TermsAndConditions} />
<Route path="/pricing" component={Pricing} />
<Route path="/admin" component={Admin} />
<Route path="/" component={Home} />
</Router>
</MetaProvider>
), document.getElementById("root")!);
}
import Page from './pages/page';
const Home = lazy(() => import("./pages"));
const Admin = lazy(() => import("./pages/admin"))

...

if (subdomain && !is_www) {
render(() => (
<MetaProvider>
<Page username={subdomain} />
</MetaProvider>
), document.getElementById("root")!)
} else {
render(() => (
<MetaProvider>
<Router>
<Route path="/privacy-policy" component={PrivacyPolicy} />
<Route path="/terms-and-conditions" component={TermsAndConditions} />
<Route path="/pricing" component={Pricing} />
<Route path="/admin" component={Admin} />
<Route path="/" component={Home} />
</Router>
</MetaProvider>
), document.getElementById("root")!);
}
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server