dploy
dploy copied to clipboard
Don't work with "dist/" local directory
dploy not work when i use "dist" for local directory but work when i use an other name :
prod: host: "ftp.myserver.com" user: "myuser" pass: "mypassword" path: local: "dist/" remote: "www/"
Any solutions ?
I think, your dist folder is ignored by your .gitignore file you could:
- track this folder by git
- OR use the
include
property to always reupload all the files in this folder
include:
"dist/**/*": "dist/"
The solution proposed by @benavern is good. However, it defeats the entire purpose of Dploy when working with generated content. For instance, when using Jekyll, it's a good practice to put the content of your generated website in the .gitignore
file. Having to manually include its content back into Dploy makes it that it defeats the use of the .rev
file, as the content of the entire website is uploaded again.
@benavern thank you!