Skip to main content

Conduit Deployment

Task​

Automate delivery of the already containerized Conduit application to a staging VPS. The Conduit Container project provided the application stack; this project added the CI/CD path.

Problem​

Building on the VPS made releases hard to trace back to a source revision. Image publishing, SSH access, runtime configuration, and startup checks needed a defined handoff between GitHub Actions and the server.

Approach​

  1. Run repository checks and application builds in CI, then build the frontend and backend images on GitHub runners and publish them to GHCR with source-commit tags and digests.
  2. Use pushes to feature/conduit-deployment to exercise a staging rollout. Pull requests and main run CI without triggering that deployment.
  3. Validate the image references, use SSH with a verified host key, and transfer a production Compose manifest that contains image references instead of build contexts. Start it with docker compose up -d --no-build and check service readiness and running image identity.

Solution​

The pipeline builds application images in GitHub Actions, publishes them to GHCR, and deploys selected image versions to a staging VPS over SSH. The VPS pulls the images instead of building them locally. Commit tags and image digests connect the deployed containers to their source revision, while rollout checks verify service readiness and running image identity. Deployment is triggered by the staging branch; pushes to main run CI only.

Evidence​

A development version completed a staging rollout with running services, a healthy database, an API response, and logs. These checks covered basic service startup rather than all application features. The custom workflow logic also adds maintenance work; standard GitHub Actions should be considered before extending it further.