Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing task deploy:update_code cloning the repository every time I run dep deploy staging #63

Open
VivekShingala opened this issue Aug 21, 2020 · 1 comment

Comments

@VivekShingala
Copy link

Hi

I have started using this package for deploying my magento 2 application.

However, as many time I run dep deploy staging command, it clone the repository again and again. Is this needed? Shouldn't it just git pull?

Cloning into '/home/public_html/releases/20200821073703'...
Enumerating objects: 32141, done.
Counting objects: 100% (32141/32141), done.
Delta compression using up to 4 threads
Compressing objects: 100% (16152/16152), done.
Writing objects: 100% (32141/32141), done.
Total 32141 (delta 10212), reused 32141 (delta 10212)
Updating files: 100% (16694/16694), done.

How to skip clone on every deployment?

@osrecio
Copy link
Collaborator

osrecio commented Oct 26, 2020

Hi, I think you have repository variable setted

Check it out: https://github.com/jalogut/magento2-deployer-plus/blob/master/deploy.php.sample_2_2_5#L14-L15

Repository is optional. If you're deploying in your local environment within repository, the repository variable should be blank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants