Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Note

This tool is only used for managing Deno Deploy Classic organizations and their projects. New Deno Deploy organizations use the deno deploy command built into the Deno Runtime. Learn more about the new deno deploy command in the reference docs

deployctl

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

Prerequisite

You need to have Deno 1.46.0+ installed (latest version is recommended; just run deno upgrade)

Install

deno install -gArf jsr:@deno/deployctl

Usage

The easiest way to get started with deployctl is to deploy one of the examples in the examples directory:

cd examples/hello-world
deployctl deploy

Visit the deployctl docs and check out the help output to learn all you can do with deployctl:

deployctl -h

Action Example

name: Deployon: pushjobs:
deploy:
runs-on: ubuntu-latestpermissions:
id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy.contents: readsteps:
- name: Clone repositoryuses: actions/checkout@v4
- name: Deploy to Deno Deployuses: denoland/deployctl@v1with:
project: my-project # the name of the project on Deno Deployentrypoint: main.ts # the entrypoint to deploy

To learn more about the action, checkout action readme.

About

Command line tool for Deno Deploy

Topics

Resources

Stars

368 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages