Esta página só existe em inglês. O menu e os outros textos seguem em português.
rapadura source publish
Publish one exact commit's directory to a site
Synopsis
Publish one exact commit of a connected repository to HOST.
The commit is a full 40-character SHA, never a branch: what is published is exactly what you confirmed. --dir is a directory of already-built files for a static site (the repository's own build is not run), or the app's source for an app. The answer is the import, preparing; follow it with "rapadura source import ID". Run the same command with the same --request-key after a lost answer: it returns the same import and never publishes twice.
rapadura source publish HOST [flags]
Options
--commit string the full 40-character commit SHA
--connection string the connection id (rapadura shows it on the source connections page)
--dir string the directory inside the repository to publish (empty: the whole repository)
-h, --help help for publish
-m, --message string the version's message
--repository int the repository's numeric GitHub id
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 source - Publish a GitHub repository commit you connected in the browser