summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusalva <jesusalva@gertmw.de>2022-10-25 15:38:05 +0000
committerJesusalva <jesusalva@gertmw.de>2022-10-25 15:38:05 +0000
commite7caa6d581489a9ba4c22f25c45a4a5650ad97ac (patch)
tree0de19a0d42823e058fe73ff1383896f7cbc7b944
parent93ae3f3f2b89c3fae9951ea2d7cb106429007d51 (diff)
downloadclientdata-e7caa6d581489a9ba4c22f25c45a4a5650ad97ac.tar.gz
clientdata-e7caa6d581489a9ba4c22f25c45a4a5650ad97ac.tar.bz2
clientdata-e7caa6d581489a9ba4c22f25c45a4a5650ad97ac.tar.xz
clientdata-e7caa6d581489a9ba4c22f25c45a4a5650ad97ac.zip
[skip ci] update ci
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02e49bf..3e01fa1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,10 +80,15 @@ pages:
- apt-get install -qq -y make zip zlib1g-dev zlibc python ssh rsync python3 git
- mkdir public
- git clone https://git.themanaworld.org/CR/tools.git tools
+ - pwd
+ - ls -lh
+ - mv tools ..
+ - cd ..
- cd tools
- cp adler32/adler32 /bin/
- cd update
- ./createnew.sh
+ - ls -lh upload
- cp -rv upload/ public/
- echo '<title>static update server</title><a href="TMW.zip">TMW.zip</a><br><a href="TMW-music.zip">TMW-music.zip</a><br><a href="news.txt">news.txt</a><br><a href="resources.xml">resources.xml</a>' > public/index.html
- echo "Now deploying..."
@@ -91,6 +96,7 @@ pages:
- echo "${SSH_PRIVATE_KEY}" | base64 -d | tr -d '\r' > ~/.ssh/id_rsa
- chmod -R 700 ~/.ssh
- rsync -e 'ssh -p 22 -o StrictHostKeyChecking=no' -aHv --delete public/updates $MYHOST:$FILE_LOCATION
+ - ls -lh public
artifacts:
paths:
- public