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

Don't work with "dist/" local directory #104

Open
cedric07 opened this issue Apr 7, 2017 · 3 comments
Open

Don't work with "dist/" local directory #104

cedric07 opened this issue Apr 7, 2017 · 3 comments

Comments

@cedric07
Copy link

cedric07 commented Apr 7, 2017

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 ?

@benavern
Copy link

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/"

@fbnlsr
Copy link

fbnlsr commented May 22, 2017

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.

@big-kahuna-burger
Copy link

@benavern thank you!

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

4 participants