Skip to content
Snippets Groups Projects
Commit 34c86291 authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

from cache to artifacts

parent 1c8ba7ce
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment