chore: update ahead-of-time build docs for Deno Deploy (#2381)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Luca Casonato
2024-03-22 22:19:17 +01:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 13d514dab8
commit 29d582c987
6 changed files with 19 additions and 154 deletions
-7
View File
@@ -2,7 +2,6 @@ import { basename, colors, join, parse, resolve } from "./src/dev/deps.ts";
import { error } from "./src/dev/error.ts";
import { collect, ensureMinDenoVersion, generate } from "./src/dev/mod.ts";
import {
AOT_GH_ACTION,
dotenvImports,
freshImports,
tailwindImports,
@@ -340,12 +339,6 @@ if (useTailwind) {
join(resolvedDirectory, "tailwind.config.ts"),
TAILWIND_CONFIG_TS,
);
const ghWorkflowDir = join(resolvedDirectory, ".github", "workflows");
await Deno.mkdir(ghWorkflowDir, { recursive: true });
await Deno.writeTextFile(
join(ghWorkflowDir, "deploy.yml"),
AOT_GH_ACTION,
);
}
const TWIND_CONFIG_TS = `import { defineConfig, Preset } from "@twind/core";