taiko-web-db/pull.sh

10 lines
440 B
Bash
Raw Normal View History

2024-04-06 13:29:01 +02:00
#!/bin/bash
docker exec -i taiko-mongo mongoexport --db taiko --collection users --out /dev/stdout | sort -n > users.json
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
2024-04-06 13:30:25 +02:00
git add -A
2024-04-06 13:39:55 +02:00
git commit --author="bot <user@example.com>" -m "$(date +%s)"
2024-04-06 13:36:41 +02:00
git push origin main