Fix environment variable handling for production deployment
- Update settings.py to support both ALLOWED_HOSTS and DJANGO_ALLOWED_HOSTS - Add production CSRF_TRUSTED_ORIGINS for vhtv-stiftung.de - Update env-template.txt with production variable examples - Improve compatibility between development and production environments
This commit is contained in:
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
@@ -176,7 +176,7 @@ jobs:
|
||||
deploy:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'refs/heads/main' && false # Temporarily disabled - server setup in progress
|
||||
|
||||
environment: production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user