Skip to main content

getDeploymentFile

@webda/core


Function: getDeploymentFile()

getDeploymentFile(appPath, name): string

Defined in: packages/core/src/application/deployment.ts:68

Find the file of a deployment

Parameters​

appPath​

string

application root path

name​

string

deployment name

Returns​

string

the path of deployments/<name>.(yaml|yml|jsonc|json)

Throws​

CodeError DEPLOYMENT_NOT_FOUND if no file exists