Skip to content

Commit

Permalink
Add API gateway URL for matching and collab service for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
iynixil committed Nov 11, 2024
1 parent 35b8bc6 commit 657cd7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: create .env file for Question Service
run: |
touch .env
echo PORT=${{ secrets.QUESTION_SERVICE_PORT }} >> .env
echo PRIVATE_KEY=${{ secrets.PRIVATE_KEY }} >> .env
- name: Generate Question Service deployment package
Expand Down Expand Up @@ -49,7 +48,6 @@ jobs:
- name: create .env file for User Service
run: |
touch .env
echo PORT=${{ secrets.USER_SERVICE_PORT }} >> .env
echo PRIVATE_KEY=${{ secrets.PRIVATE_KEY }} >> .env
echo JWT_SECRET=${{ secrets.JWT_SECRET }} >> .env
Expand Down Expand Up @@ -80,6 +78,7 @@ jobs:
- name: create .env file for Matching Service
run: |
touch .env
echo API_GATEWAY_URL=${{ secrets.REACT_APP_API_GATEWAY_URL }} >> .env
echo PRIVATE_KEY=${{ secrets.PRIVATE_KEY }} >> .env
echo RABBIT_PROTOCOL=${{ secrets.RABBIT_PROTOCOL }} >> .env
echo RABBIT_HOSTNAME=${{ secrets.RABBIT_HOSTNAME }} >> .env
Expand Down Expand Up @@ -114,7 +113,7 @@ jobs:
- name: create .env file for Collaboration Service
run: |
touch .env
echo PORT=${{ secrets.COLLABORATION_SERVICE_PORT }} >> .env
echo API_GATEWAY_URL=${{ secrets.REACT_APP_API_GATEWAY_URL }} >> .env
echo PRIVATE_KEY=${{ secrets.PRIVATE_KEY }} >> .env
echo URL_QUESTION_SERVICE=${{ secrets.URL_QUESTION_SERVICE }} >> .env
echo RAPID_API_HOST=${{ secrets.RAPID_API_HOST }} >> .env
Expand Down Expand Up @@ -148,7 +147,6 @@ jobs:
- name: create .env file for API Gateway
run: |
touch .env
echo PORT=${{ secrets.API_GATEWAY_PORT }} >> .env
echo QUESTION_SERVICE_URL=${{ secrets.QUESTION_SERVICE_URL }} >> .env
echo USER_SERVICE_URL=${{ secrets.USER_SERVICE_URL }} >> .env
echo COLLABORATION_SERVICE_URL=${{ secrets.COLLABORATION_SERVICE_URL }} >> .env
Expand Down

0 comments on commit 657cd7d

Please sign in to comment.