File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # deploy-cli
2+
3+ The implementation of ` deno deploy ` subcommand.
4+
5+ ## How this works
6+
7+ The source code of this repository is published to https://jsr.io/@deno/deploy
8+
9+ ` deno deploy ` subcommand executes the main entrypoint of ` jsr:@deno/deploy `
10+ [ ref] ( https://github.com/denoland/deno/blob/efa4da8643c1ada18102bd3eeadb28171f7cdad6/cli/tools/deploy.rs#L47-L72 ) .
11+
12+ ## How to develop
13+
14+ Set the file url of main.ts of your local copy of this repository to
15+ ` DENO_DEPLOY_CLI_SPECIFIER ` env var. e.g.
16+ ` DENO_DEPLOY_CLI_SPECIFIER=file:///path/to/deploy-cli/main.ts ` , or run
17+ ` source dev_env.sh ` at the root of this repo (This sets
18+ ` DENO_DEPLOY_CLI_SPECIFIER ` )
19+
20+ Then ` deno deploy ` subcommand uses your local copy as its implementation.
Original file line number Diff line number Diff line change 1+ export DENO_DEPLOY_CLI_SPECIFIER=" file://$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) /main.ts"
You can’t perform that action at this time.
0 commit comments