diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b12c8ee..c30eba1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -39,10 +39,13 @@ jobs: git fetch origin ${{ github.ref_name }} git reset --hard origin/${{ github.ref_name }} git submodule update --init --recursive - # Copy sibling app models for cross-domain imports (skip self to avoid duplicate table defs) + # Clean ALL sibling dirs (including stale self-copies from previous runs) + for sibling in blog market cart events; do + rm -rf \$sibling + done + # Copy non-self sibling models for cross-domain imports for sibling in blog market cart events; do [ \"\$sibling\" = \"${{ env.IMAGE }}\" ] && continue - rm -rf \$sibling/__init__.py \$sibling/models repo=/root/rose-ash/\$sibling if [ -d \$repo/.git ]; then git -C \$repo fetch origin ${{ github.ref_name }} 2>/dev/null || true