Manage Deno Deploy cloud services using both `deno deploy` and `deployctl`. Use this skill for deploying projects, managing cloud environments (Build/Dev/Prod contexts), monitoring logs, and troubleshooting deployment issues (like private npm dependencies).
63
74%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./plugins/flowai-deno/skills/deploy/SKILL.mdThis skill covers managing Deno Deploy cloud services using the built-in deno deploy command and the advanced deployctl utility.
--allow-all by default, supporting subprocesses, FFI, and full npm compatibility.deno deployThe deno deploy command is integrated into the Deno CLI and is suitable for basic deployment tasks.
deno deploy [OPTIONS] [entrypoint]: Deploy the project. If entrypoint is omitted, it's guessed from deno.json or files.deno deploy create: Create a new application.deno deploy env: Manage environment variables in the cloud (supports contexts).deno deploy logs: Stream live logs from a deployed application.deno deploy switch: Switch between organizations and applications.deno deploy sandbox: Interact with sandboxes.deno deploy setup-aws / setup-gcp: Configure cloud connections (OIDC).deno deploy logout: Revoke the Deno Deploy authentication token.deployctlFor more granular control, including listing deployments and managing projects, use deployctl.
deno install -gArf jsr:@deno/deployctldeployctl list: List all deployments for the current project.deployctl projects list: List all projects in your account.deployctl deployments show <id>: Show detailed information for a specific deployment/build.deployctl redeploy --deployment=<id>: Roll back or redeploy a specific version.deployctl projects create <name>: Create a new project.deployctl projects delete <name>: Delete a project.ALWAYS test deployment commands locally before updating CI/CD workflows.
IsADirectory errors (often caused by missing .gitignore entries like .playwright-browsers/).If your app uses Deno.openKv() or other unstable APIs:
--unstable-kv.deno deploy command DOES NOT support --unstable-kv or --unstable flags.deno.json:
{
"unstable": ["kv"]
}TypeError: Deno.openKv is not a function in the cloud.deno deploy DOES NOT support the --exclude flag..gitignore to exclude files and directories. All files not ignored by git will be uploaded..playwright-browsers/) to avoid IsADirectory errors and slow uploads.Recommended workflow for complex projects:
permissions:
id-token: write
contents: readdeno deploy over deployctl Action if you encounter authorization issues (The bearer token is invalid).- name: Upload to Deno Deploy
run: deno deploy --app=my-app --token=${{ secrets.DENO_DEPLOY_TOKEN }} --prod main.tsDeployments from local console may fail with Internal Server Error if the project uses private npm packages.
deno deploy --app=my-app --prod main.tsdeno deploy env set MY_VAR=value --context=productionb4ba256
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.