You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And in the dir2 directory there were files only from the repo, everything is OK.
Next, I run phploy and dir2 is cleared up. That is the same as if I used purge []
Is this normal behavior?
The text was updated successfully, but these errors were encountered:
Hi! purge-before works just like purge, the only difference is that purge-before runs before any uploads and purge runs after uploads. I use it to clear a directory (that is not tracked by git) before uploading new files to it. In my case it's js and css files generated by webpack that have unique names so the old files don't get overwritten and needs to be removed. I hope this helps clear it up!
@Liingon thanks for the answer. Does this mean that uploads should not happen at all for such directories?
Unfortunately, in my case, after purge-before, the directory remains empty, although there are files in the repository.
Hi. I'm not understanding setting purge-before [].
My repo contains:
phploy.ini:
I do phploy --fresh and see in log:
And in the dir2 directory there were files only from the repo, everything is OK.
Next, I run phploy and dir2 is cleared up. That is the same as if I used purge []
Is this normal behavior?
The text was updated successfully, but these errors were encountered: