Commit 99e33f3c authored by Isabella Skořepová's avatar Isabella Skořepová

Revert "Potentially faster upload"

This reverts commit 1abc3976.
parent 1abc3976
Pipeline #499 passed with stage
in 2 minutes and 14 seconds
......@@ -24,7 +24,7 @@ preview:
- node generator/index.js --baseurl /$CI_BUILD_REF_NAME --contentdir . --staticdir fake_static --themedir generator/theme --builddir build --noserver
- echo "$PREVIEW_SSH_KEY" > sshkey
- chmod 600 sshkey
- rsync -e 'ssh -i sshkey' -rtv --delete-after build/ $SSH_HOST:$HTML_DIR/$CI_BUILD_REF_NAME/
- rsync -e 'ssh -i sshkey' -rc --delete build/ $SSH_HOST:$HTML_DIR/$CI_BUILD_REF_NAME/
- ssh -i sshkey $SSH_HOST ln -fs $HTML_DIR/static/static $HTML_DIR/static/$CI_BUILD_REF_NAME
- rm sshkey
......@@ -65,7 +65,7 @@ deploy:
- node generator/index.js --contentdir . --staticdir static --themedir generator/theme --builddir build --noserver
- echo "$DEPLOY_SSH_KEY" > sshkey
- chmod 600 sshkey
- rsync -e 'ssh -i sshkey' -rtv --delete-after build/ $SSH_HOST:$HTML_DIR/
- rsync -e 'ssh -i sshkey' -rc --delete build/ $SSH_HOST:$HTML_DIR/
- rm sshkey
cache:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment