Skip to content

Commit f87051b

Browse files
committed
test
1 parent 439e683 commit f87051b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,13 @@ jobs:
117117
git merge pr-15 --no-edit
118118
sed -i 's/localhost:8000/172.28.0.2:8000/g' config/database/update.sh
119119
120-
# Verify the change
121-
grep "172.28.0.2" config/database/update.sh || echo "Patch failed!"
120+
# === PATCH 2: Fix MinIO Path Mismatch ===
121+
# The PR uses '/minio/' but Nginx usually expects '/data/' for MinIO
122+
# We replace '/minio/' with '/data/' in the URL rewrite script
123+
sed -i 's|/minio/|/data/|g' config/database/update.sh
124+
125+
echo "=== Patched Update Script ==="
126+
cat config/database/update.sh | grep "172.28.0.2"
122127
123128
- name: Start Docker Services
124129
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)