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

Contents of config.deploy.include do not get included in deploy #5

Open
jshakes opened this issue Aug 25, 2016 · 2 comments
Open

Contents of config.deploy.include do not get included in deploy #5

jshakes opened this issue Aug 25, 2016 · 2 comments

Comments

@jshakes
Copy link
Contributor

jshakes commented Aug 25, 2016

When I add file paths to the include array in _config/deploy.yml, they do not get deployed to surge

@dmitriiivashko
Copy link
Owner

@jshakes the include array has nothing to do with surge. The deploy config is split into 2 sections: surge deployment and rsync deployment. include is just the corresponding setting of the rsync command. Surge only deploys the content of _site automatically.

It's even placed under the rsync config section to avoid any confusion:

domain: somadomain.com

surge:
  enabled: false
  domain:  somadomain.com

rsync:
  enabled:          false
  username:         remoteuser
  destination:      /home/remoteuser/www/project
  incremental:      true
  progress:         true
  relative:         true
  emptyDirectories: true
  recursive:        true
  clean:            true
  exclude:
    - .DS_Store
    - .git
  include: []

@jshakes
Copy link
Contributor Author

jshakes commented Aug 30, 2016

Well I wouldn't say it avoided any confusion ;) but thanks. I'll add include support for Surge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants