rapadura hotsites · PHP Com Rapadura Português

rapadura publish

Publish a directory as a new live version of a hotsite

Synopsis

Publish zips the directory (skipping .git, node_modules and similar), refuses to upload credentials or server-side code, uploads it, and prints a receipt with the live URL. The directory should contain index.html at its root.

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
      --site string      site host or slug (required)
      --title string     title when creating
      --zone string      zone when creating (default: gateway's first zone)

Options inherited from parent commands

      --gateway string   gateway URL (default from credentials or https://agents.rapadura.net)
      --json             machine-readable JSON output

SEE ALSO