diff --git a/.github/workflows/build-server-image.yml b/.github/workflows/build-server-image.yml index 7a2474fe..4e6cf21d 100644 --- a/.github/workflows/build-server-image.yml +++ b/.github/workflows/build-server-image.yml @@ -2,9 +2,7 @@ name: TheHistoryAtlas Docker Image CI on: push: - branches: [ dev ] -# pull_request: # test action configuration -# branches: [ dev ] + branches: [ main ] jobs: diff --git a/.github/workflows/test-services.yml b/.github/workflows/test-services.yml index 93759381..3c61696e 100644 --- a/.github/workflows/test-services.yml +++ b/.github/workflows/test-services.yml @@ -3,7 +3,7 @@ name: "Test Services" on: pull_request: branches: - - dev + - main jobs: diff --git a/server/the_history_atlas/main.py b/server/the_history_atlas/main.py index f62a1474..ff8f3e8b 100644 --- a/server/the_history_atlas/main.py +++ b/server/the_history_atlas/main.py @@ -11,3 +11,6 @@ def get_app() -> FastAPI: app_manager = AppManager(config_app=config_app) mount_api(app=app, app_manager=app_manager) return app + + +app = get_app()