feat: update worker to use Gitea API for deployments and remove GitHub references

This commit is contained in:
AmanDevelops
2026-01-10 00:23:54 +05:30
parent 1abbe6460c
commit 7ccfe677b3
4 changed files with 90 additions and 318 deletions

View File

@@ -4,10 +4,12 @@
REDIS_URL=redis://username:your_password@HOST:PORT
# ------------------------------
# GitHub Configuration
# Gitea Configuration
# ------------------------------
# Scopes required: 'repo' (to create repos and push code)
GITHUB_TOKEN=ghp_xxxxxx
GITEA_API_URL=https://git.mworld.cloud/api/v1
# The GitHub username associated with the token above
GITHUB_USERNAME=github_username
# Scopes required: 'repo' (to create repos and push code)
GITEA_TOKEN=github_username
# The Gitea username associated with the token above
GITEA_USERNAME=gitea_username