Skip to main content
Module

x/deploy/README.md

Command line tool for Deno Deploy
Go to Latest
File

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 account 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