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

Purge folder before upload #364

Open
Liingon opened this issue Mar 15, 2019 · 2 comments
Open

Purge folder before upload #364

Liingon opened this issue Mar 15, 2019 · 2 comments

Comments

@Liingon
Copy link
Contributor

Liingon commented Mar 15, 2019

I need to purge a folder before uploading. Is there a way to do this currently? From what I understand purge is called after the upload of new files is complete.

@ghost
Copy link

ghost commented Mar 16, 2019

pre-deploy-remote[] = "rm -rf folder/*" ? see example on https://github.com/banago/PHPloy

@Liingon
Copy link
Contributor Author

Liingon commented Mar 18, 2019

Yeah, should have mentioned that I don't have ssh access to the server so I need something that works over ftp.

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

1 participant