Socket
Book a DemoInstallSign in
Socket

@platformatic/deploy-client

Package Overview
Dependencies
Maintainers
6
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/deploy-client

Deploy code to the Platformatic cloud

latest
Source
npmnpm
Version
1.49.1
Version published
Maintainers
6
Created
Source

Deploys code to the Platformatic cloud.

Install

npm install @platformatic/deploy-client

API

deploy(options)

Options:

  • deployServiceHost - The host of the Platformatic cloud deploy service. Use 'https://plt-production-deploy-service.fly.dev'.

  • workspaceId - The id of the workspace to deploy to.

  • workspaceKey - The key of the workspace to deploy to.

  • label - The label of the deployment. Use it if you want to deploy application to the dynamic workspace.

  • pathToProject - The path to the root of the project to deploy.

  • pathToConfig - The path to the Platformatic app config file.

  • pathToEnvFile - The path to the .env file.

  • pathToSecretsFile - The path to the .secrets.env file.

  • secrets - The secrets to pass to the Platformatic app. If there is a .secrets.env file

  • variables - The variables to pass to the Platformatic app. If there is a .env file

  • githubMetadata - The metadata about the github repository, branch, commit and PR (if it's a dynamic workspace).

  • logger - The logger to use. Use pino or other logger with the same interface.

FAQs

Package last updated on 11 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts