Skip to content

denoland/deployctl

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

Folders and files

NameName
Last commit message
Last commit date
Feb 14, 2025
Mar 23, 2021
Feb 14, 2025
Jul 17, 2024
Feb 14, 2025
Oct 21, 2024
Oct 21, 2024
Mar 10, 2021
Oct 25, 2024
Feb 14, 2024
Jan 22, 2025
Nov 4, 2024
Oct 21, 2024

Repository files navigation

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: Deploy

on: push

jobs:
  deploy:
    runs-on: ubuntu-latest

    permissions:
      id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy.
      contents: read

    steps:
      - name: Clone repository
        uses: actions/checkout@v4

      - name: Deploy to Deno Deploy
        uses: denoland/deployctl@v1
        with:
          project: my-project # the name of the project on Deno Deploy
          entrypoint: main.ts # the entrypoint to deploy

To learn more about the action, checkout action readme.