Commit 8355749
committed
feat: Add automated VPS deployment to GitHub Actions
- Add deploy-to-vps job after successful build
- Use appleboy/ssh-action for SSH deployment
- Pull latest image from GHCR
- Restart container with docker-compose
- Auto-cleanup old images
- Fully automated deployment on every push to master1 parent 68d1b65 commit 8355749
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments