From b9bca2404a8d4e89fafc4a1175e590fb4c3ef8c7 Mon Sep 17 00:00:00 2001 From: TomasKetterer Date: Mon, 28 Oct 2024 21:50:03 -0300 Subject: [PATCH] added env --- .github/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bf34f0c..8fa6c92 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,6 +19,13 @@ jobs: uses: actions/setup-node@v3 with: node-version: '18.18.0' + + - name: Create .env file + run: | + echo "REACT_APP_AUTH0_DOMAIN=${{ secrets.REACT_APP_AUTH0_DOMAIN }}" >> .env + echo "REACT_APP_AUTH0_CLIENT_ID=${{ secrets.REACT_APP_AUTH0_CLIENT_ID }}" >> .env + echo "REACT_APP_API_URL=${{ secrets.REACT_APP_API_URL }}" >> .env + echo "FRONTEND_URL=${{ secrets.FRONTEND_URL }}" >> .env - name: Install dependencies and build project run: |