Skip to main content

deployctl

deployctl is the command line tool for Deno Deploy. This repository also contains the denoland/deployctl GitHub Action.

For more on the GitHub Action, go here

Install

deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts

Usage

Before being able to deploy, you need to get a personal access token from the Deno Deploy access token page. Store this token in a DENO_DEPLOY_TOKEN environment variable, or pass it to deployctl with the --token flag.

deployctl deploy --project=hello-world ./examples/hello.ts

View the help:

deployctl -h