diff --git a/.github/workflows/run-smoke-test.yml b/.github/workflows/run-smoke-test.yml index d0db1b1..b2a1e25 100644 --- a/.github/workflows/run-smoke-test.yml +++ b/.github/workflows/run-smoke-test.yml @@ -26,4 +26,4 @@ jobs: run: python example.py working-directory: example env: - API_BASE_PATH: "https://faceapi.regulaforensics.com" + API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-faceapi.regulaforensics.com' || github.base_ref == 'stable' && 'https://rc-faceapi.regulaforensics.com' || github.base_ref == 'master' && 'https://faceapi.regulaforensics.com' || 'https://nightly-faceapi.regulaforensics.com' }}