CI/CD: Add GitLab CI/CD pipeline for Hostinger deployment

- Updated .gitlab-ci.yml with complete build, test, and deploy stages
- Added authentication redirect fix in Program.cs (302 redirect for admin routes)
- Fixed Cookie vs Bearer authentication conflict for admin panel
- Configure pipeline to build from .NET 9.0 source
- Deploy to Hostinger VPS with proper environment variables
- Include rollback capability for production deployments

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-01 13:10:48 +01:00
parent e61b055512
commit d31c0b4aeb
21 changed files with 5828 additions and 826 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="9" failures="0" time="1759292545">
<testsuite name="TeleBot TOR Verification" tests="9" failures="0" timestamp="2025-10-01T04:22:25">
</testsuite>
</testsuites>