Show preview deployments in GitHub's Deployments panel

Aperta
#5,856 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, typescript
Ambito
cloud, devops

Direzione di ricerca

Start by locating Dokploy’s preview deployment flow and its GitHub pull request comment handling. Trace where builds start, succeed, fail, and where pull request closure is handled; the issue does not name files or tests. Done means reporting each lifecycle state through GitHub’s Deployments API and including the preview URL on success.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What problem will this feature address?

When Dokploy builds a preview deployment for a pull request, it posts and then edits a single comment with the preview URL. GitHub's own deployment UI stays empty: the pull request has no "View deployment" button and the repository sidebar shows no Deployments. Once a pull request collects more comments, the preview link is easy to lose.

Describe the solution you'd like

Report preview deployments to GitHub through the Deployments API, alongside the existing comment: mark a deployment as in progress when the build starts, as successful with the preview URL when it is done, as failed when it fails, and as inactive when the pull request is closed. GitHub would then show the "View deployment" button on the pull request and list the preview under Deployments.

Describe alternatives you've considered

Creating the deployment from a GitHub Actions workflow that reads the URL from Dokploy's comment. It works, but each repository has to carry this workflow for something Dokploy already knows.

Additional context

This issue was written with the help of an AI assistant (Claude) and reviewed by me before posting.

Will you send a PR to implement it?

Maybe. I'd be happy to send a PR if that's welcome, and if a PR written with the help of an AI assistant is okay with you.

Lingua principale
TypeScript
Stelle
38.8k
Fork
3.2k
Merge medio
1g 10h
PR unite (30g)
110

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Dokploy/dokploy

Tutte le issue di Dokploy/dokploy

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.