Skip to content

Commit 39fad70

Browse files
committed
deploy ci keep backend running for frontend
1 parent dacd1cc commit 39fad70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
sleep 10 # Wait for server to start
3232
echo try to get /health
3333
curl --retry 3 --retry-delay 5 --fail http://localhost:5000/api/health
34-
echo stopping
35-
docker stop backend-test
3634
3735
- name: Build and Test Frontend
3836
working-directory: ./frontend
@@ -44,8 +42,10 @@ jobs:
4442
sleep 5
4543
echo trying to connect to frontend
4644
curl --retry 3 --retry-delay 5 --fail http://localhost:80
47-
echo stopping
45+
echo stopping frontend
4846
docker stop frontend-test
47+
echo stopping backend
48+
docker stop backend-test
4949
5050
- name: Push Docker Images
5151
run: |

0 commit comments

Comments
 (0)