mirror of
https://github.com/lorsanstand/Aether.git
synced 2026-06-19 12:05:16 +03:00
edit workflow
This commit is contained in:
@@ -16,7 +16,9 @@ jobs:
|
||||
|
||||
- name: Create .env file
|
||||
run: |
|
||||
echo "${{ secrets.ENV_FILE }}" > .env
|
||||
cat << 'EOF' > .env
|
||||
${{ secrets.ENV_FILE }}
|
||||
EOF
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
||||
@@ -66,7 +66,7 @@ class Settings(BaseSettings):
|
||||
def RABBITMQ_URL(self) -> str:
|
||||
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()
|
||||
Reference in New Issue
Block a user