initial commit

This commit is contained in:
Hunter
2026-11-01 13:23:44 -05:00
commit e03ea4f770
53 changed files with 10802 additions and 0 deletions

20
app/publish/page.tsx Normal file
View File

@@ -0,0 +1,20 @@
import PublishPanel from "@/components/PublishPanel";
import { gitStatus } from "@/lib/git";
export const dynamic = "force-dynamic";
export default async function PublishPage() {
const status = await gitStatus();
const config = {
push: (process.env.GIT_PUSH ?? "true").toLowerCase() !== "false",
pushAuth: process.env.GIT_PUSH_TOKEN ? "token" : "git default credentials",
deploy: Boolean(process.env.DEPLOY_URL && process.env.DEPLOY_TRIGGER_SECRET),
deployUrl: process.env.DEPLOY_URL ?? null,
};
return (
<main>
<h1>Publish</h1>
<PublishPanel status={status} config={config} />
</main>
);
}