fix: stop old c4 container before starting renamed games container
Some checks failed
CI / Deploy / test (push) Successful in 13s
CI / Deploy / lint (push) Successful in 25s
CI / Deploy / deploy (push) Has been cancelled

The renamed container can't bind port 8080 while the old c4 container
still holds it.
This commit is contained in:
Ryan Hamamura
2026-03-02 22:56:23 -10:00
parent 8780b7c9b1
commit 649762e6c6

View File

@@ -58,5 +58,8 @@ jobs:
run: |
mkdir -p $DEPLOY_DIR/data
- name: Stop old c4 container if running
run: docker rm -f c4 2>/dev/null || true
- name: Rebuild and restart
run: cd $DEPLOY_DIR && docker compose up -d --build --remove-orphans