Skip to content
Snippets Groups Projects
Commit c79bcd4f authored by Ilya Rassadin's avatar Ilya Rassadin
Browse files

copy simlynks as files with composer. see...

copy simlynks as files with composer. see https://getcomposer.org/doc/05-repositories.md#private-packagist for details
parent 0039a6e1
No related branches found
No related tags found
No related merge requests found
.upload_composer_files: &upload_composer_files |
if [ -d "$CI_PROJECT_DIR/vendor" ];
then
rsync -avz --delete --chown=$user:$group -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key " $CI_PROJECT_DIR/vendor/ root@${!PROJECT_SERVER}::www/${!PROJECT_SITE}/$COMPOSER_SERVER_DIR;
rsync -L -avz --delete --chown=$user:$group -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key " $CI_PROJECT_DIR/vendor/ root@${!PROJECT_SERVER}::www/${!PROJECT_SITE}/$COMPOSER_SERVER_DIR;
fi
.deploy_composer_files_to_server:
......
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