Deployments
How to deploy the web app to deno deploy.
deployctl
is a command line tool for deploying your code to Deno Deploy, and it’s also a GitHub Action for the same purpose.
You can install deployctl
command with the below command:
deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts
To deploy a local script:
deployctl deploy --project=helloworld hello_world.ts
To deploy a remote script:
deployctl deploy --project=helloworld https://deno.land/x/fastro/examples/hello_world.ts
More info: Deno deployments