Thomas Rudin 2019-08-30 11:34:48 +02:00
parent 7b67371ee7
commit 8bbc51b97a
3 changed files with 20 additions and 1 deletions

1
data/.gitignore vendored
View File

@ -4,3 +4,4 @@ tiles
grafana
prometheus
postgres*
Colors.txt

12
jobs/update-mapserver-colors.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
cd $(dirname $0)
cd ../data/Colors.txt
git remote update
git diff --exit-code HEAD origin/master && exit 0
git pull
cp colors.txt ../minetest/world/
docker-compose restart mapserver

View File

@ -1,13 +1,19 @@
#!/bin/sh
cd $(dirname $0)
cd data/minetest/world/worldmods
cd ../data/minetest/world/worldmods
git remote update
git diff --exit-code HEAD origin/master && exit 0
git pull
# new mods
git submodule init
# changed repo urls
git submodule sync
# updated commits
git submodule update