From 194cfa7909b2d467c7dad784f4072f1307369f26 Mon Sep 17 00:00:00 2001 From: Jeff Maki Date: Thu, 13 Mar 2025 10:14:38 -0400 Subject: [PATCH] Forgot to pass the GH vars to env vars --- .github/workflows/build.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index af07de3..f837255 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -55,8 +55,11 @@ jobs: docker compose -f docker-compose.build.yml --env-file tdei_uw.env push env: ENV: ${{ vars.ENV }} - WS_DOCKER_REGISTRY: ${{ vars.WS_DOCKER_REGISTRY }} CODE_VERSION: ${{ github.sha }} + + # hosts + WS_DOCKER_REGISTRY: ${{ vars.WS_DOCKER_REGISTRY }} + WS_POSM_DB_HOST: ${{ vars.WS_POSM_DB_HOST }} # passwords WS_API_DB_PASS: ${{ secrets.WS_API_DB_PASS }} @@ -70,7 +73,6 @@ jobs: - name: Deploy env: ENV: ${{ vars.ENV }} - WS_DOCKER_REGISTRY: ${{ vars.WS_DOCKER_REGISTRY }} CODE_VERSION: ${{ github.sha }} # machine to deploy to @@ -78,7 +80,11 @@ jobs: # tag to deploy WS_DOCKER_TAG: ${{ github.sha }} - + + # hosts + WS_DOCKER_REGISTRY: ${{ vars.WS_DOCKER_REGISTRY }} + WS_POSM_DB_HOST: ${{ vars.WS_POSM_DB_HOST }} + # passwords WS_API_DB_PASS: ${{ secrets.WS_API_DB_PASS }} WS_MAPBOX_ACCESS_TOKEN: ${{ secrets.WS_MAPBOX_ACCESS_TOKEN }}