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

submodules not getting updated #108

Open
barry-smithjr opened this issue Sep 22, 2019 · 0 comments
Open

submodules not getting updated #108

barry-smithjr opened this issue Sep 22, 2019 · 0 comments

Comments

@barry-smithjr
Copy link

barry-smithjr commented Sep 22, 2019

Hi,

I've got an issue where the git plugin doesn't pull down updated submodules when the folder already exists. The plugin logs that the it pulled the new changes in but checking the hash and a known-changed file prove the update wasn't made. Below is my config:

domain.com, www.domain.com {
  root /var/www/domains/domain.com/hugo/public
  git {
    repo https://github.com/barry-smithjr/domain.com.git
    path  ../
    hook $PATH $PASSWORD
    clone_args --recurse-submodules
    then  hugo --gc --minify --destination=/var/www/domains/domain.com/hugo/public
  }
  cache
  gzip
  log /var/www/domains/domain.com/logs/access.log

  tls {
    dns cloudflare
  }
}
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