mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 20:31:16 +02:00
24 lines
641 B
TypeScript
24 lines
641 B
TypeScript
import * as Alchemy from "alchemy";
|
|
import * as Hetzner from "alchemy/Hetzner";
|
|
import * as Effect from "effect/Effect";
|
|
|
|
export default Alchemy.Stack(
|
|
"HetznerWebsiteFoldkitExample",
|
|
{
|
|
providers: Hetzner.providers(),
|
|
state: Alchemy.localState(),
|
|
},
|
|
Effect.gen(function* () {
|
|
const site = yield* Hetzner.Website.Foldkit("Foldkit", {
|
|
// Only hash the files that affect the build, so unchanged sources
|
|
// skip the Vite build (and the deploy) entirely.
|
|
memo: {
|
|
include: ["src/**", "index.html", "package.json", "vite.config.ts"],
|
|
},
|
|
});
|
|
|
|
return {
|
|
url: site.url,
|
|
};
|
|
}),
|
|
);
|