Skip to main content
Home

latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
82%
Published
a year ago (1.11.1)

deployctl

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

Install

deno install -Arf jsr:@deno/deployctl

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

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@v3

      - 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.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@orriols/test2

Import symbol

import * as test_ from "@orriols/test2";
or

Import directly with a jsr specifier

import * as test_ from "jsr:@orriols/test2";

Add Package

pnpm i jsr:@orriols/test2
or (using pnpm 10.8 or older)
pnpm dlx jsr add @orriols/test2

Import symbol

import * as test_ from "@orriols/test2";

Add Package

yarn add jsr:@orriols/test2
or (using Yarn 4.8 or older)
yarn dlx jsr add @orriols/test2

Import symbol

import * as test_ from "@orriols/test2";

Add Package

vlt install jsr:@orriols/test2

Import symbol

import * as test_ from "@orriols/test2";

Add Package

npx jsr add @orriols/test2

Import symbol

import * as test_ from "@orriols/test2";

Add Package

bunx jsr add @orriols/test2

Import symbol

import * as test_ from "@orriols/test2";