From 5898f371796e14eb6a10871b3e927e473bb88a3a Mon Sep 17 00:00:00 2001 From: Ivan Skvortsov Date: Sun, 22 Oct 2023 14:42:26 +0300 Subject: [PATCH] added front env variables to deploy_stage workflow --- .github/workflows/deploy_stage.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy_stage.yaml b/.github/workflows/deploy_stage.yaml index 6d26082..c805b4b 100644 --- a/.github/workflows/deploy_stage.yaml +++ b/.github/workflows/deploy_stage.yaml @@ -108,6 +108,9 @@ jobs: echo EMAIL_HOST_USER=$'${{ secrets.EMAIL_HOST_USER }}' >> infra/.env echo EMAIL_HOST_PASSWORD=$'${{ secrets.EMAIL_HOST_PASSWORD }}' >> infra/.env + echo REACT_APP_API_URL=$'${{ secrets.REACT_APP_API_URL }}' >> infra/.env + echo REACT_APP_GEOLOCATION_API_URL=$'${{ secrets.REACT_APP_GEOLOCATION_API_URL }}' >> infra/.env + echo ${{ secrets.REGISTRY_PAT }} | docker login ${{ env.REGISTRY }} -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin docker image prune -f