Modified ci.yml:
- Removed SSH remote deployment (not needed for local server)
- Added Release publishing instead
- Builds Release version and packages as ZIP
- Creates Gitea Release with version tag
- Uploads kartsell-release.zip as asset
Usage:
1. Push to main → CI pipeline runs
2. All tests pass → Release created automatically
3. Download kartsell-release.zip from Releases tab
4. Extract to local deployment directory
5. Run: dotnet KArtSell.Host.dll
No remote SSH credentials needed - pure local deployment.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Modified .gitea/workflows/ci.yml:
- Added 'deploy' job that runs on successful main push
- Publishes Release build
- Deploys to production server via SCP
- Restarts systemd service
- Performs health check
Deployment flow:
1. Developer pushes to main
2. CI pipeline runs (static, backend, frontend tests)
3. If all tests pass → automatic deployment to production
4. Health check verifies deployment success
Requirements:
- DEPLOY_HOST: Production server hostname
- DEPLOY_USER: SSH user
- DEPLOY_KEY: SSH private key (set in Gitea Secrets)
Status: Ready for production deployment
Next: Set Gitea Actions Secrets and test
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>