
List deployment records for a given application.
deployments(
appPath = ".",
nameFilter = NULL,
accountFilter = NULL,
serverFilter = NULL,
excludeOrphaned = TRUE
)
Returns a data frame with at least following columns:
name | Name of deployed application |
account | Account owning deployed application |
bundleId | Identifier of deployed application's bundle |
url | URL of deployed application |
deploymentFile | Name of configuration file |
If additional metadata has been saved with the deployment record using the
metadata
argument to deployApp()
, the frame will include
additional columns.
The path to the content that was deployed, either a directory or an individual document.
Return only deployments matching the given name (optional)
Return only deployments matching the given account (optional)
Return only deployments matching the given server (optional)
If TRUE
(the default), return only deployments
made by a currently registered account. Deployments made from accounts that
are no longer registered (via e.g.removeAccount()
) will not be
returned.
applications()
to get a list of deployments from the
server, and deployApp()
to create a new deployment.
if (FALSE) {
# Return all deployments of the ~/r/myapp directory made with the 'abc'
# account
deployments("~/r/myapp", accountFilter="abc")
}
Run the code above in your browser using DataLab