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

Base option ignored during deploy #373

Open
trst opened this issue Sep 30, 2019 · 4 comments
Open

Base option ignored during deploy #373

trst opened this issue Sep 30, 2019 · 4 comments

Comments

@trst
Copy link

trst commented Sep 30, 2019

I am trialing using phploy for our deployment process and everything's a dream so far (thank you for your hard work!). The only trouble I'm having is with the 'base' option which appears to be ignored during deploy.

My company keeps their applications in large mono-repos, and in the particular test example I'm using, a WordPress install is included inside of a folder (cleverly named, 'wordpress/'). I set base = 'wordpress/' in the config, yet it begins uploading from the parent working directory (where the composer files are located).

I'll include the config file below which I generated using the phploy --init command.

Any thoughts on where I should be looking for the solution?

[staging]
    scheme = ftp
    host = HOST
    path = public_html/some-folder
    user = 'USERNAME'
    pass = 'PASSWORD'
    base = 'wordpress/'
@Liingon
Copy link
Contributor

Liingon commented Oct 21, 2019

@trst Have you downloaded PHPloy from github or did you use composer? If I remember correctly this should be fixed already, but Packagist is not updated so composer doesn't get the latest changes.

@trst
Copy link
Author

trst commented Oct 29, 2019 via email

@Jelmerkeij
Copy link

I'm having the same problem and I can confirm it works when I use the Github repo but not with Composer.

When will Composer be updated? Sorry, I do not have any knowledge on how/when packagist gets their updates. But the version number in Github and Packagist (both version 4.9.1) seem the same so I wonder why this is.

Thanks!

@Liingon
Copy link
Contributor

Liingon commented Apr 24, 2020

@banago Could you make please update the package on Packagist? It would be nice to be able to get the latest changes with composer.

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

3 participants