Skip to content

Commit 47b88f5

Browse files
committed
fix(prune): run prune in subshell
1 parent 6754c64 commit 47b88f5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy-via-ts.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050
echo "Starting the frontend container in headless/detached mode..."
5151
docker compose -f compose.yml up -d --no-deps --force-recreate frontend
5252
53-
echo "Cleaning up unused images and containers..."
54-
docker image prune -af || true
55-
docker container prune -f || true
56-
docker system prune -f || true
53+
(
54+
echo "Cleaning up unused images and containers..."
55+
docker image prune -af || true
56+
docker container prune -f || true
57+
docker system prune -f || true
58+
) || true
5759
5860
echo "Deployment finished successfully."
5961
exit 0

0 commit comments

Comments
 (0)