TextASite deploy tooling

All TextASite customer sites are hosted on Cloudflare Pages. Vercel is only used for our own tas-webhook app. Agents do not share a filesystem, so install the tooling on your own machine:

curl -fsSL https://textasite-tools.pages.dev/install.sh | bash

That drops three files into /app/data/tas/.

Deploy any folder

/app/data/tas/deploy_site.sh <project-name> <build-dir>
# -> https://<project-name>.pages.dev

Publish for a real customer

/app/data/tas/publish_site.py <build-dir> --phone +447xxxxxxxxx [--project name] [--stage review|live]

Deploys, curls the live URL, and refuses to update the customer record unless it returns 200. Then writes site_url, stage and host=cloudflare-pages to tas-customers.

Files

Creds are resolved by the scripts themselves: env vars, then /app/data/cloudflare.json, then the Cloudflare entry in /app/data/credentials.json. No tokens are stored on this page.