edit workflow

This commit is contained in:
2026-01-25 12:29:57 +03:00
parent d6d967beaa
commit f62cafa128
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ jobs:
- name: Create .env file - name: Create .env file
run: | run: |
echo "${{ secrets.ENV_FILE }}" > .env cat << 'EOF' > .env
${{ secrets.ENV_FILE }}
EOF
- name: Build - name: Build
run: | run: |
+1 -1
View File
@@ -66,7 +66,7 @@ class Settings(BaseSettings):
def RABBITMQ_URL(self) -> str: def RABBITMQ_URL(self) -> str:
return f"amqp://{self.RMQ_USER}:{self.RMQ_PASS}@{self.RMQ_HOST}:{self.RMQ_PORT}//" return f"amqp://{self.RMQ_USER}:{self.RMQ_PASS}@{self.RMQ_HOST}:{self.RMQ_PORT}//"
model_config = SettingsConfigDict(env_file="../.env", extra="allow") model_config = SettingsConfigDict(env_file="../.env.prod", extra="allow")
settings: Settings = Settings() settings: Settings = Settings()