Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denoland/deployctl
Command line tool for Deno Deploy
https://github.com/denoland/deployctl
deno deno-deploy
Last synced: 27 days ago
JSON representation
Command line tool for Deno Deploy
- Host: GitHub
- URL: https://github.com/denoland/deployctl
- Owner: denoland
- License: mit
- Created: 2021-03-10T20:45:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T02:35:50.000Z (3 months ago)
- Last Synced: 2024-10-02T19:02:14.858Z (about 1 month ago)
- Topics: deno, deno-deploy
- Language: TypeScript
- Homepage: https://deno.com/deploy
- Size: 2.33 MB
- Stars: 332
- Watchers: 16
- Forks: 52
- Open Issues: 73
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - deployctl
README
# 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.41.1+ installed (latest version is recommended; just run
`deno upgrade`)## Install
```shell
deno install -Arf jsr:@deno/deployctl
```## Usage
The easiest way to get started with `deployctl` is to deploy one of the examples
in the [examples directory](./examples):```shell
cd examples/hello-world
deployctl deploy
```Visit the [deployctl docs](https://docs.deno.com/deploy/manual/deployctl) and
check out the help output to learn all you can do with deployctl:```shell
deployctl -h
```## Action Example
```yml
name: Deployon: push
jobs:
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 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](./action/README.md).