Skip to content

denoland/deployctl

main
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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