denoland / deployctl

Command line tool for Deno Deploy
https://deno.com/deploy
MIT License
331 stars 52 forks source link

Deploys to preview deployment from main branch #128

Open YonatanKra opened 2 years ago

YonatanKra commented 2 years ago

Hi, For some reason the action stopped deploying for the production version and only creates preview deployments. What we are doing is triggering the deployment with the following trigger:

on:
  push:
    tags:
      - "deploy"

And we are doing the tag push to the main branch. In the end, we get a preview deploy and not a production one. Here's our deployment yaml: https://github.com/Vonage/vivid-3/blob/main/.github/workflows/deploy.yml

whomwah commented 1 year ago

+1 I'm getting the same from the the CLI and the interface in deno deploy just says PENDING

whomwah commented 1 year ago

OK, so I've noticed that when I deploy via deployctl I need to promote my deployment to production before I am able to see it. That could indeed be the intention and it works for me. FIXED FOR ME

arnauorriols commented 10 months ago

Hi,

Is this issue still happening? If so, can you check the production branch configuration for your project in the Deploy dashboard, and make sure it's main?