Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheennabi committed Dec 21, 2024
1 parent 1d7bd73 commit 4d40240
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4d40240

Please sign in to comment.