Skip to content

Comments

feat(github-actions): add deploy workflow triggered by successful tests#21

Merged
rshdhere merged 1 commit intomainfrom
feat/CI-CD
Jan 20, 2026
Merged

feat(github-actions): add deploy workflow triggered by successful tests#21
rshdhere merged 1 commit intomainfrom
feat/CI-CD

Conversation

@rshdhere
Copy link
Owner

Fixes #20

  • Triggers on workflow_run completion of "Tests" workflow (success only) and workflow_dispatch
  • Deploys to VPS via SSH using secrets for host, user, key, and port
  • Performs git pull, pnpm install/build with corepack, and pm2 reload in app directory
  • Includes set -e for strict error handling and echo statements for logging

- Triggers on `workflow_run` completion of "Tests" workflow (success only) and `workflow_dispatch`
- Deploys to VPS via SSH using secrets for host, user, key, and port
- Performs git pull, pnpm install/build with corepack, and pm2 reload in app directory
- Includes set -e for strict error handling and echo statements for logging
@rshdhere rshdhere merged commit 410d18f into main Jan 20, 2026
4 checks 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.

CI/CD workflow to connect to my VPS

1 participant