Skip to content

Commit

Permalink
Force pull repo on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Dec 22, 2024
1 parent 1a20258 commit 43e6f40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ func pullBibliothek() {
if err != nil {
log.Fatalf("Error cloning repo: %s\n", err)
}
} else {
err := github.PullRepo(github.BibliothekRepo)
if err != nil {
log.Fatalf("Error pulling repo: %s\n", err)
}
}

ticker := time.NewTicker(30 * time.Minute)
Expand Down

0 comments on commit 43e6f40

Please sign in to comment.