ci: auto-deploy on push to main + remove redundant API token (Authelia is auth layer)
Deploy t-youtube / Build & Deploy (push) Failing after 1s

This commit is contained in:
Gan, Jimmy
2026-07-09 22:55:10 +08:00
parent 5c767190d2
commit a2fad2a6e1
2 changed files with 51 additions and 2 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ app.add_middleware(
)
# API token validation for write operations
API_TOKEN=os.environ.get('API_TOKEN', '')
# API token validation — disabled. Authelia (Caddy forward_auth) handles auth upstream.
API_TOKEN=""
async def validate_api_token(request: Request, call_next):
path = request.url.path