Skip to content

ci: add production deployment workflow - #2

Merged
mmc-cloud merged 1 commit into
mainfrom
feature/cd
Sep 10, 2026
Merged

mmc-cloud merged 1 commit into
mainfrom
feature/cd

Conversation

@mmc-cloud

Copy link
Copy Markdown
Owner

Summary

  • add a CD workflow for MyCode Core
  • trigger only after the CI workflow completes successfully on main
  • connect to the production server over SSH using repository secrets
  • rely on the server-side forced SSH command to run /usr/local/sbin/deploy-mycode
  • verify the server host key through known_hosts

Deployment flow

push main -> CI success -> CD -> SSH deploy user -> forced command -> deploy-server.sh

Required repository secrets

DEPLOY_HOST, DEPLOY_USER, DEPLOY_SSH_KEY, DEPLOY_KNOWN_HOSTS

@mmc-cloud
mmc-cloud merged commit f6f5597 into main Sep 10, 2026
1 check passed
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