Document how to resin deploy to an app as a collaborator

Change-Type: patch
This commit is contained in:
Tim Perry 2017-10-09 19:10:50 +02:00
parent b4a56e1541
commit 82888de036
3 changed files with 9 additions and 3 deletions

View File

@ -152,7 +152,7 @@ uploadToPromise = function(uploadRequest, logger) {
module.exports = {
signature: 'deploy <appName> [image]',
description: 'Deploy an image to a resin.io application',
help: 'Use this command to deploy an image to an application, optionally building it first.\n\nUsage: deploy <appName> ([image] | --build [--source build-dir])\n\nNote: If building with this command, all options supported by `resin build`\nare also supported with this command.\n\nExamples:\n $ resin deploy myApp --build --source myBuildDir/\n $ resin deploy myApp myApp/myImage',
help: 'Use this command to deploy an image to an application, optionally building it first.\n\nUsage: `deploy <appName> ([image] | --build [--source build-dir])`\n\nTo deploy to an app on which you\'re a collaborator, use\n`resin deploy <appOwnerUsername>/<appName>`.\n\nNote: If building with this command, all options supported by `resin build`\nare also supported with this command.\n\nExamples:\n $ resin deploy myApp --build --source myBuildDir/\n $ resin deploy myApp myApp/myImage',
permission: 'user',
options: dockerUtils.appendOptions([
{

View File

@ -1414,7 +1414,10 @@ Squash newly built layers into a single new layer
Use this command to deploy an image to an application, optionally building it first.
Usage: deploy <appName> ([image] | --build [--source build-dir])
Usage: `deploy <appName> ([image] | --build [--source build-dir])`
To deploy to an app on which you're a collaborator, use
`resin deploy <appOwnerUsername>/<appName>`.
Note: If building with this command, all options supported by `resin build`
are also supported with this command.

View File

@ -114,7 +114,10 @@ module.exports =
help: '''
Use this command to deploy an image to an application, optionally building it first.
Usage: deploy <appName> ([image] | --build [--source build-dir])
Usage: `deploy <appName> ([image] | --build [--source build-dir])`
To deploy to an app on which you're a collaborator, use
`resin deploy <appOwnerUsername>/<appName>`.
Note: If building with this command, all options supported by `resin build`
are also supported with this command.