Skip to content

Commit 28940fc

Browse files
committed
Fixed checking status of Caddy container in GitHub Actions workflow
1 parent 20c1c04 commit 28940fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: sleep 3
4343

4444
- name: Check Caddy is running
45-
run: docker compose ps caddy | grep -q "running"
45+
run: docker compose ps --format json | jq -e '.[] | select(.Name == "ssl-proxy") | .State == "running"'
4646

4747
- name: Test HTTP redirect
4848
run: |

0 commit comments

Comments
 (0)