Skip to content
Snippets Groups Projects

Preview fix

Merged Martin Vítek requested to merge preview-fix into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -27,7 +27,7 @@ preview:
- rsync -e 'ssh -i sshkey' -rc --delete build/ $SSH_HOST:$HTML_DIR/$CI_BUILD_REF_NAME/
- ssh -i sshkey $SSH_HOST git -C $HTML_DIR/static/static/ pull
- ssh -i sshkey $SSH_HOST cp -asf $HTML_DIR/static/static/articles/. $HTML_DIR/$CI_BUILD_REF_NAME/clanek/
- ssh -i sshkey $SSH_HOST cp -sf $HTML_DIR/static/static/images/ $HTML_DIR/$CI_BUILD_REF_NAME/images/
- ssh -i sshkey $SSH_HOST ln -sf $HTML_DIR/static/static/images/ $HTML_DIR/$CI_BUILD_REF_NAME/images/
- rm sshkey
stop_preview:
Loading