diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index bba0838..1ab6cc3 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -4,6 +4,7 @@ on: push: branches: - 'master' + workflow_dispatch: jobs: perform-check: diff --git a/app/config.py b/app/config.py index 31aebaf..ee57e3d 100644 --- a/app/config.py +++ b/app/config.py @@ -79,7 +79,8 @@ class Config(BaseSettings): model_config = SettingsConfigDict(env_prefix="app_", env_nested_delimiter='__', env_file=('config/default.env', 'config/local.env'), - env_file_encoding='utf-8') + env_file_encoding='utf-8', + secrets_dir='/run/secrets') # for docker secret class Environment(BaseModel):