diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index a3f5c4b..4617017 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -66,8 +66,9 @@ jobs: #shell: bash run: | cd ./website - docker compose down --remove-orphans - + docker compose down --remove-orphans || true + # Add this line to forcefully remove the container if it still exists + docker rm -f website || true # `|| true` to prevent step failure if container doesn't exist - name: Rebuild & deploy #shell: bash working-directory: website