From 4d40240e681bab1cc77458a59b4f046e61df967e Mon Sep 17 00:00:00 2001 From: shaheennabi Date: Sat, 21 Dec 2024 12:06:33 -0800 Subject: [PATCH] updated --- .github/workflows/deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1a037d5..35feb65 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -52,5 +52,11 @@ jobs: 'docker pull ${{ secrets.AWS_ECR_REPO_URI }}:latest && \ docker stop streamlit-app || true && \ docker rm streamlit-app || true && \ - docker run -d --name streamlit-app -p 8501:8501 ${{ secrets.AWS_ECR_REPO_URI }}:latest' + docker run -d --name streamlit-app \ + -e OPENAI_API_KEY="${{ secrets.OPENAI_API_KEY }}" \ + -e WEATHER_API_KEY="${{ secrets.WEATHER_API_KEY }}" \ + -e SERPER_API_KEY="${{ secrets.SERPER_API_KEY }}" \ + -e AMADEUS_API_KEY="${{ secrets.AMADEUS_API_KEY }}" \ + -e AMADEUS_API_SECRET="${{ secrets.AMADEUS_API_SECRET }}" \ + -p 8501:8501 ${{ secrets.AWS_ECR_REPO_URI }}:latest' rm ssh_key \ No newline at end of file