mirror of
https://codeberg.org/yuukixyz/taiko-web-db.git
synced 2024-09-06 14:11:20 +02:00
GCを実行
This commit is contained in:
parent
5bd0deffeb
commit
a635b36715
1
pull.sh
1
pull.sh
@ -4,6 +4,7 @@ docker exec -i taiko-mongo mongoexport --db taiko --collection users --out /dev/
|
||||
docker exec -i taiko-mongo mongoexport --db taiko --collection songs --out /dev/stdout | sort -n > songs.json
|
||||
docker exec -i taiko-mongo mongoexport --db taiko --collection scores --out /dev/stdout | sort -n > scores.json
|
||||
|
||||
git gc --prune=now
|
||||
git add *.json
|
||||
changed=$(git diff --name-only --cached | paste -s -d " ")
|
||||
git commit --author="BOT <bot@example.com>" -m "$changed が更新されました"
|
||||
|
Loading…
Reference in New Issue
Block a user