Skip to content

Deploy to CodeBoxx Web Claude droplet via GitHub Actions - #16

Merged
minuitcinq merged 1 commit into
mainfrom
ml/deploy-digitalocean-github-actions
Aug 18, 2026
Merged

Deploy to CodeBoxx Web Claude droplet via GitHub Actions#16
minuitcinq merged 1 commit into
mainfrom
ml/deploy-digitalocean-github-actions

Conversation

@minuitcinq

Copy link
Copy Markdown
Collaborator

Summary

  • Adds .github/workflows/deploy.yml: builds the Vite site and rsyncs dist/ to the "CodeBoxx Web Claude" DigitalOcean droplet over SSH on push to main (or manual dispatch).
  • Documents the deploy setup in the readme.

Droplet setup (done)

  • nginx installed, serving /var/www/codeboxx with SPA fallback (try_files $uri /index.html;).
  • Dedicated deploy system user: no sudo, key-only SSH, owns the target directory.
  • Repo secrets set: VITE_SANITY_PROJECT_ID, VITE_SANITY_DATASET, VITE_SANITY_API_VERSION, DROPLET_HOST, DROPLET_USER, DROPLET_TARGET_PATH, DROPLET_SSH_KEY.
  • No domain/TLS yet — served over plain HTTP by IP for now.

Test plan

  • Merge triggers the workflow and it completes successfully
  • Site loads at http://159.223.145.47/
  • Deep link (e.g. /blog/some-post) works on hard refresh (SPA fallback)

Adds a workflow that builds the Vite site and rsyncs dist/ to the DigitalOcean
droplet over SSH on push to main, using a dedicated non-root deploy user.
Droplet-side (nginx, deploy user, /var/www/codeboxx) already provisioned.
@minuitcinq
minuitcinq merged commit 4055ab0 into main Aug 18, 2026
@minuitcinq
minuitcinq deleted the ml/deploy-digitalocean-github-actions branch August 18, 2026 23:49
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