Ctrl K
ComunidadGuías…

scripts/build-site-pages.sh

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/usr/bin/env bash
set -euo pipefail

# Cloudflare Pages Git builds run this from the repository root and publish
# site/dist-pages, the same tree build-installer-site.sh prepares for a
# Direct Upload. The site is static: no Pages Functions, no _routes.json.
cd "$(dirname "$0")/.."
stage="$(mktemp -d)"
bash scripts/build-installer-site.sh "$stage/site"
rm -rf site/dist-pages
cp -R "$stage/site/public" site/dist-pages