Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhankarunhale authored Jul 21, 2024
1 parent 96ac070 commit ec033a4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,7 @@ jobs:
api_url=$(aws cloudformation list-exports --query "Exports[?Name=='ApiGateway'].Value" --output text)
echo "API_URL=${api_url}" >> $GITHUB_ENV
echo "REACT_APP_API_GATEWAY_URL=${api_url}" > frontend/.env
- name: Set API Gateway URL
run: |
> frontend/.env
echo "REACT_APP_API_GATEWAY_URL=${API_URL}" >> frontend/.env
- name: Use API Gateway URL
run: |
echo "The API Gateway URL is $API_URL"
- name: Print .env file contents
run: |
Expand Down

0 comments on commit ec033a4

Please sign in to comment.