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