aboutsummaryrefslogtreecommitdiff
path: root/data/update.sh
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-02-22 12:38:16 +0800
committerMistivia <i@mistivia.com>2025-02-22 12:38:16 +0800
commitdbbde1321daca7b345d6c83aa5d38703156ff8af (patch)
treef60a1dd892144179f41dac91a4ac999b0bbfb2d3 /data/update.sh
parent118ca43ccef2e6ca19b445a4d21d0b927234b85b (diff)
fix bug
Diffstat (limited to 'data/update.sh')
-rw-r--r--data/update.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/update.sh b/data/update.sh
index 7ae5351..1e2fd59 100644
--- a/data/update.sh
+++ b/data/update.sh
@@ -2,4 +2,11 @@ curl https://ygocdb.com/api/v0/cards.zip -o cards.zip
unzip cards.zip
rm cards.zip
python3 build-card-info.py
+python3 split.py
+python3 genbanlist.py > ../src/ocg_banlist.json
+python3 cn-genbanlist.py > ../src/cnocg_banlist.json
+python3 md-genbanlist.py > ../src/md_banlist.json
+rsync -avz ./card_db_parts/ root@bdwg:/volume/webroot/card_db_parts/
+cd ..
+sh deploy.sh