diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf6f1f1d527c854b7157ef4870672b7e590276d6..43a20fa9523bd6a8dcd289c6f061a9f3d2c5105f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,8 +25,8 @@ build: script: # --strict is too strict :) - mkdocs build -c --verbose - cache: - key: build-cache + artifacts: + expire_in: 1 hour paths: - site/ @@ -41,8 +41,4 @@ deploy: # - apt-get update -qq && apt-get install -y -qq sshpass openssh-client rsync script: # - sshpass -p "$WOLKE_PASSWORD" scp -oStrictHostKeyChecking=no -r ./site/* $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general/ - - sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" ./site/ $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general - cache: - key: build-cache - paths: - - site/ + - sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" ./site/ $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general \ No newline at end of file