summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2023-04-18 02:31:42 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-04-18 02:31:42 +0000
commit952483a5b83d13e0fb19ca9a447f9932d875e503 (patch)
tree94558d0913fc3708c032780e6672bce2a29b0aa0 /.gitlab-ci.yml
parent778bfaad864d7ef1c663951304c01a60b4298c35 (diff)
downloadserverdata-952483a5b83d13e0fb19ca9a447f9932d875e503.tar.gz
serverdata-952483a5b83d13e0fb19ca9a447f9932d875e503.tar.bz2
serverdata-952483a5b83d13e0fb19ca9a447f9932d875e503.tar.xz
serverdata-952483a5b83d13e0fb19ca9a447f9932d875e503.zip
Submodule update. CI update. Regenerate databases.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 04edd2a2..bda6e543 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,3 +88,28 @@ pages:
- public
only:
- stable
+
+clientdata:
+ stage: deploy
+ tags:
+ - glados
+ script:
+ - apt-get -qq update
+ - apt-get install -qq -y make zip zlib1g-dev zlibc python ssh rsync python3 git
+ - git submodule update --init
+ - git config --global credential.helper store
+ - echo "https://numa:$SYNC_KEY@git.themanaworld.org" > ~/.git-credentials
+ - git clone https://git.themanaworld.org/evolved/clientdata.git evolved
+ - cd evolved
+ - git checkout master
+ - cp -v ../client-data/monsters.xml .
+ - cp -v --recursive ../client-data/graphics/sprites/monsters/* graphics/sprites/monsters/
+ - git status
+ - git config user.email "numa@themanaworld.org"
+ - git config user.name "Numa"
+ - git commit -a -m "Sync with Legacy repo" --author="Numa <numa@themanaworld.org>"
+ - git push
+ only:
+ - stable
+ allow_failure: true
+