diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 25 |
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 + |