Skip to content

ci: add DigitalOcean PR preview deployments - #163

Closed
hoangsvit wants to merge 4 commits into
mainfrom
feat/digitalocean-pr-preview
Closed

hoangsvit wants to merge 4 commits into
mainfrom
feat/digitalocean-pr-preview

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Summary

Add automatic DigitalOcean App Platform previews for pull requests.

  • deploy a separate preview app for PRs targeting main
  • clone configuration from the existing radio-new App Platform app
  • update a single PR comment with the preview URL
  • include build/deploy logs in Actions
  • cancel superseded preview deployments for the same PR
  • delete the preview app automatically when the PR is closed or merged

Required repository secret

DIGITALOCEAN_ACCESS_TOKEN

The token needs App Platform create/read/update/delete access plus the dependent read scopes required by DigitalOcean.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Free
  • Run ID: 65c1d8b1-ece7-4fd0-b0c2-c6dd3c94fa8b
📥 Commits

Reviewing files that changed from the base of the PR and between 6012ee8 and 60b19b6.

📒 Files selected for processing (3)
  • .do/app.yaml
  • .github/workflows/digitalocean-preview-cleanup.yml
  • .github/workflows/digitalocean-preview.yml

ePlus-DEV is on CodeRabbit Free, which includes PR summaries. Ask your admin to upgrade for code reviews.

  • Ask an admin to upgrade

Open in CodeRabbit

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

❌ DigitalOcean Preview failed

See the workflow logs: https://github.com/ePlus-DEV/radio.eplus.dev/actions/runs/37591251867

@hoangsvit hoangsvit closed this Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

❌ DigitalOcean Preview failed

See the workflow logs: https://github.com/ePlus-DEV/radio.eplus.dev/actions/runs/37591629433

@hoangsvit
hoangsvit deleted the feat/digitalocean-pr-preview branch October 8, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant