5050cloud

5050 up

Upload this directory and deploy it into the linked service, streaming the logs.

Usage

5050 up [PATH] [flags]

Flags

FlagMeaning
-d, --detachReturn after the upload instead of streaming logs
-c, --ciStream only the build logs and exit when the build finishes; non-zero on failure
-m, --message TEXTMessage recorded with the deployment
--newCreate a new service from this directory
--name NAMEName for the service created by --new
--no-gitignoreUpload files that .gitignore would skip
--path-as-rootUse PATH as the root of the upload instead of the linked root directory

Details

  • The CLI packs the directory as a gzipped tar, skipping .git and anything matched by .gitignore and .5050ignore.
  • Uploads over 500 MB are refused. Add large files to .5050ignore.
  • It prints Uploaded 3.2 MB, the build log, the first deploy log lines, then Deployed: https://... and exits 0. On failure it prints the one-sentence diagnosis and exits 1.

Examples

5050 up
5050 up --new --name api
5050 up -c -m "release 42"

Railway equivalent

railway up works the same way through the railway alias.

Every command also accepts the global options.

View as Markdown · Edit this page