Skip to content

Commit 2bcd8dc

Browse files
fix: (cicd.yml)update Docker build argument to use VITE_API_BASE_URL for better backend configuration
.env file have VITE_API_BASE_URL Actions secrets variables section added new varible 'VITE_API_BASE_URL' named value what is in the .env file value also.
1 parent 51f6e53 commit 2bcd8dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Build Docker Image
2121
run: |
2222
docker build \
23-
--build-arg VITE_EC2_BACKEND_URL=${{ secrets.VITE_EC2_BACKEND_URL }} \
23+
--build-arg VITE_API_BASE_URL=${{ secrets.VITE_API_BASE_URL }} \
2424
-t dilusharanasinghe/budget-tracker-fe:latest .
2525
2626
- name: Push Docker Image

0 commit comments

Comments
 (0)