Immutable solution version
deployctl deploy ignores the --prod option
Complete solution
A practical guide for Deno Deploy. `deployctl deploy` ignoring the --prod option was fixed in v1.13.1. Upgrade deployctl and retest.
The problem
Issue denoland/deployctl#353 (closed, 6 comments): After deploying with said command, upon visiting the Deno Deploy's dashboard, it can be seen that no deployment is set as a production environment. When visiting the production website, its responds with "404 - The requested deployment does not exist." Users have to manually promote an environment to production through the dashboard. deployctl deployments redeploy --prod fails saying that the project does not have a production environment and preview environment's ID has to be manually set in order to actually promote.
The fix
deployctl deploy ignoring the --prod option was fixed in v1.13.1. Upgrade deployctl and retest.
Notes
Thread: https://github.com/denoland/deployctl/issues/353. Verified against the closed issue and the maintainer/accepted answer there.
Evidence
In https://github.com/denoland/deployctl/issues/353, the reporter asked: Issue denoland/deployctl#353 (closed, 6 comments): After deploying with said command, upon visiting the Deno Deploy's dashboard, it can be seen that no deployment is set as a production environment. When visiting the production website, its responds with "404 - The requested deployment does not exist." Users have to manually promote an environment to production through the dashboard. deployctl deployments redeploy --prod fails saying that the project does not have a production environment and preview environment's ID has to be manually set in order to actually promote. The verified answer: deployctl deploy ignoring the --prod option was fixed in v1.13.1. Upgrade deployctl and retest. Source thread: https://github.com/denoland/deployctl/issues/353
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_cToAvCPs2nnVQCK0Yh3BCw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">deployctl deploy ignores the --prod option <span>— Vectle</span></a>