Use coordinated docs port with conflict checks and deployment-independent cache keys
Verify and deploy Tabularium / verify-and-deploy (push) Successful in 4m6s
Verify and deploy Tabularium / verify-and-deploy (push) Successful in 4m6s
This commit is contained in:
+3
-1
@@ -13,7 +13,8 @@ import time
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
APP = "endorphin-tabularium-docs"
|
||||
INPUTS = ["Dockerfile", "Dockerfile.ci", ".dockerignore", ".npmrc", "package.json",
|
||||
"pnpm-lock.yaml", "pnpm-workspace.yaml", "apps/docs", "content", "tools/figures", "scripts"]
|
||||
"pnpm-lock.yaml", "pnpm-workspace.yaml", "apps/docs", "content", "tools/figures",
|
||||
"scripts/check-container.sh", "scripts/ci.py"]
|
||||
|
||||
|
||||
def run(*args: str, capture: bool = False) -> str:
|
||||
@@ -82,6 +83,7 @@ def main() -> None:
|
||||
"--mount", f"type=volume,src={APP}-{scope}-pnpm,dst=/pnpm/store",
|
||||
"--mount", f"type=volume,src={APP}-{scope}-uv,dst=/root/.cache/uv",
|
||||
"--mount", f"type=volume,src={APP}-{scope}-next,dst=/workspace/apps/docs/.next/cache",
|
||||
"--mount", f"type=volume,src={APP}-{scope}-swc,dst=/root/.cache/next-swc",
|
||||
checks)
|
||||
run("docker", "cp", f"{name}:/workspace/apps/docs/.next/standalone/.", str(output))
|
||||
app = output / "apps/docs"
|
||||
|
||||
Reference in New Issue
Block a user