Skip to content

Commit d526ecd

Browse files
Avoid conflicting Caddy service during deploy
1 parent 53db297 commit d526ecd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ jobs:
2929
git fetch origin
3030
git checkout "${{ github.ref_name }}"
3131
git pull --ff-only origin "${{ github.ref_name }}"
32-
docker compose up -d --build
32+
docker compose stop caddy || true
33+
docker compose rm -f caddy || true
34+
docker compose up -d --build mariadb php-app

0 commit comments

Comments
 (0)