Skip to content
Rapadura NetworkPHP Com Rapadura

Esta página só existe em inglês. O menu e os outros textos seguem em português.

rapadura publish

Publish a directory as a new live version of a hotsite or an app

Synopsis

Publish zips the directory (skipping .git, node_modules, vendor and similar), uploads it, and prints a receipt with the live URL. For a static hotsite it refuses credentials and server-side code, and the directory should contain index.html at its root. For an app (rapadura app create) the code is the point: the source is built in a container in the tenants runtime (composer install, npm ci and npm run build), started under its caps, health-checked and switched; .env files, keys and .git are still refused.

rapadura publish <dir> [flags]

Options

      --create           create the site if it does not exist
  -h, --help             help for publish
  -m, --message string   note stored with this version
      --runtime string   with --create, make an app of this runtime (php8.4 or node22) instead of a static hotsite
      --site string      site host or slug (required)
      --title string     title when creating
      --zone string      zone when creating (default: the gateway's default for new sites)

Options inherited from parent commands

      --gateway string       gateway URL (default from credentials, RAPADURA_GATEWAY or http://127.0.0.1:8090)
      --json                 machine-readable JSON output
      --request-key string   a key (1 to 128 printable characters) that makes sending this change again safe: the gateway answers the first attempt's operation (default: a fresh random key per command)

SEE ALSO

  • rapadura - Publish and manage sites and apps on rapadura.space