From fcad868242a16fe27f2344196e6bb92bff8033e2 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Thu, 24 Oct 2024 23:35:43 +0200 Subject: [PATCH] add env --- .github/workflows/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker-compose.yml b/.github/workflows/docker-compose.yml index df30b5b..130096f 100644 --- a/.github/workflows/docker-compose.yml +++ b/.github/workflows/docker-compose.yml @@ -21,6 +21,12 @@ jobs: sudo apt-get update sudo apt-get install -y docker-compose + - name: Create .env file + run: | + echo AZURE_OPENAI_ENDPOINT=${{ secrets.AZURE_OPENAI_ENDPOINT }} >> server/.env + echo AZURE_OPENAI_API_KEY=${{ secrets.AZURE_OPENAI_API_KEY }} >> server/.env + echo AZURE_OPENAI_API_VERSION=${{ secrets.AZURE_OPENAI_API_VERSION }} >> server/.env + - name: Build and test services run: | docker-compose build