From c38e322a979a0dd3488e56d71743610f09a0b81e Mon Sep 17 00:00:00 2001 From: Shamsuddin Ahmed Date: Mon, 25 Dec 2023 12:01:38 +0600 Subject: [PATCH] fix: env variables --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e556b95..10a786d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,10 +43,10 @@ jobs: pip install -r requirements.txt # Add environment variables to the .env file - echo "GEMINI_API_KEY=\"$GEMINI_API_KEY\"" >> .env - echo "REDIS_URL=\"$REDIS_URL\"" >> .env - echo "MY_API_KEY=\"$MY_API_KEY\"" >> .env - echo "SYSTEM_INSTRUCTION=\"$SYSTEM_INSTRUCTION\"" >> .env + echo 'GEMINI_API_KEY="${{ secrets.GEMINI_API_KEY }}"' >> .env + echo 'REDIS_URL="${{ secrets.REDIS_URL }}"' >> .env + echo 'MY_API_KEY="${{ secrets.MY_API_KEY }}"' >> .env + echo 'SYSTEM_INSTRUCTION="${{ secrets.SYSTEM_INSTRUCTION }}"' >> .env # Ensure the NGINX config directories are clean