abiosoft / abiosoft/caddy-git

submodules not getting updated

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
206
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.