Skip to content

Commit

Permalink
Backend URL
Browse files Browse the repository at this point in the history
  • Loading branch information
dapetoo committed Jul 4, 2022
1 parent 39deb82 commit 5cb954e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ jobs:
echo "API_URL=${API_URL}" >> frontend/.env
echo "API_URL=http://${BACKEND_IP}:3030" >> frontend/.env
cat frontend/.env
#cd frontend
cd frontend
#npm install
npm run build
tar -czvf artifact-"${CIRCLE_WORKFLOW_ID:0:5}".tar.gz dist
Expand All @@ -369,7 +369,7 @@ jobs:
# tar -czvf artifact-"${CIRCLE_WORKFLOW_ID:0:5}".tar.gz dist
# aws s3 cp dist s3://udapeople-${CIRCLE_WORKFLOW_ID:0:5} --recursive
# echo "s3://udapeople-${CIRCLE_WORKFLOW_ID:0:5}"
# - revert-migrations
- revert-migrations
- destroy-environment

deploy_backend:
Expand Down

0 comments on commit 5cb954e

Please sign in to comment.