Skip to content
Snippets Groups Projects
Commit 87a3fa89 authored by Martin Vítek's avatar Martin Vítek
Browse files

Changed cp to ln

parent 620a9a90
No related branches found
No related tags found
1 merge request!51Preview fix
Pipeline #
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment