abiosoft / abiosoft/caddy-git

submodules not getting updated

Aperta
#108 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
206
Fork
42
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.