From 56f006e6b0b7892592e9a9917fbca235b9303b7f Mon Sep 17 00:00:00 2001 From: Matthew Evans <7916000+ml-evs@users.noreply.github.com> Date: Tue, 7 Nov 2023 17:44:45 +0000 Subject: [PATCH] Update config file location for Fly deployment (#1867) --- .github/fly.toml | 1 + .github/workflows/ci_cd_updated_master.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/fly.toml b/.github/fly.toml index b3c6c8e18..0c6845a81 100644 --- a/.github/fly.toml +++ b/.github/fly.toml @@ -9,6 +9,7 @@ processes = [] [env] PORT = 5000 +OPTIMADE_CONFIG_FILE = "./tests/test_config.json" [experimental] allowed_public_ports = [] diff --git a/.github/workflows/ci_cd_updated_master.yml b/.github/workflows/ci_cd_updated_master.yml index d5e1e8910..d08a35497 100644 --- a/.github/workflows/ci_cd_updated_master.yml +++ b/.github/workflows/ci_cd_updated_master.yml @@ -138,7 +138,7 @@ jobs: deploy-fly: env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} - OPTIMADE_CONFIG_FILE: /app/tests/test_config.json + OPTIMADE_CONFIG_FILE: ./tests/test_config.json OPTIMADE_BASE_URL: https://optimade.fly.dev runs-on: ubuntu-latest if: github.repository_owner == 'Materials-Consortia'