Skip to content

ci: add a cd.yml workflow#1085

Merged
ibrunotome merged 2 commits into
mainfrom
ci/cd
May 31, 2026
Merged

ci: add a cd.yml workflow#1085
ibrunotome merged 2 commits into
mainfrom
ci/cd

Conversation

@ibrunotome
Copy link
Copy Markdown
Contributor

@ibrunotome ibrunotome commented May 31, 2026

Summary by cubic

Adds a CD workflow that builds and pushes our Docker image to GHCR on main, then triggers a deploy webhook. Dockerfile accepts COMMIT_SHA, SITE_URL, and REOWN_APPKIT_PROJECT_ID as build args and exposes them as env vars.

  • New Features

    • Builds from infra/docker/Dockerfile and pushes ghcr.io/kuestcom/prediction-market:main and :<sha>.
    • Runs only on pushes to main for kuestcom/prediction-market, uses concurrency, and logs in to GHCR with GITHUB_TOKEN.
    • Triggers deploy via webhook; fails if DEPLOY_WEBHOOK_URL is missing.
  • Migration

    • Add the DEPLOY_WEBHOOK_URL repo secret.
    • Set repo variables SITE_URL and REOWN_APPKIT_PROJECT_ID if you need non-default values.

Written for commit 96b03f9. Summary will update on new commits.

Review in cubic

@ibrunotome ibrunotome requested a review from a team as a code owner May 31, 2026 11:41
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .github/workflows/cd.yml
@ibrunotome ibrunotome merged commit 576ab5d into main May 31, 2026
7 checks passed
@ibrunotome ibrunotome deleted the ci/cd branch May 31, 2026 12:04
github-actions Bot added a commit to ibrunotome/prediction-market that referenced this pull request May 31, 2026
github-actions Bot added a commit to ibruno/kuest-prediction-market that referenced this pull request May 31, 2026
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