deployctl
is the command line tool for Deno Deploy. This repository also
contains the denoland/deployctl
GitHub Action.
deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts
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