ui: Update git remote
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-12-15 17:32:00 +01:00
parent c692e34fdf
commit dde1f825cc
2 changed files with 4 additions and 4 deletions

View file

@ -451,14 +451,14 @@ func TriggerTagUpdate(c *gin.Context, work *Work, repo *Repository, u *User, tag
} }
client := drone.NewClient(droneEndpoint, droneConfig) client := drone.NewClient(droneEndpoint, droneConfig)
result, err := client.BuildCreate("srs", "atsebay.t-worker", "", "master", env) result, err := client.BuildCreate("teach", "atsebay.t-worker", "", "master", env)
if err != nil { if err != nil {
log.Println("Unable to communicate with Drone:", err.Error()) log.Println("Unable to communicate with Drone:", err.Error())
c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "Unable to communication with the extraction service."}) c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "Unable to communication with the extraction service."})
return return
} }
repo.DroneRef = fmt.Sprintf("%s/%s/%d", "srs", "atsebay.t-worker", result.Number) repo.DroneRef = fmt.Sprintf("%s/%s/%d", "teach", "atsebay.t-worker", result.Number)
repo.LastCheck = &now repo.LastCheck = &now
repo.Update() repo.Update()

View file

@ -76,7 +76,7 @@
</div> </div>
<p class="card-text mt-3"> <p class="card-text mt-3">
Divulguée et corrigée le 19 novembre 2022. Divulguée et corrigée le 19 novembre 2022.
<a href="https://git.nemunai.re/srs/atsebay.t/commit/f675047ce8f6636aa45336b56c069172330b050f" target="_blank" rel="noreferrer">Commit</a> <a href="https://git.nemunai.re/teach/atsebay.t/commit/f675047ce8f6636aa45336b56c069172330b050f" target="_blank" rel="noreferrer">Commit</a>
</p> </p>
</div> </div>
</div> </div>
@ -97,7 +97,7 @@
</div> </div>
<p class="card-text mt-3"> <p class="card-text mt-3">
Divulguée et corrigée le 19 novembre 2021. Divulguée et corrigée le 19 novembre 2021.
<a href="https://git.nemunai.re/srs/atsebay.t/commit/5c53d2eaea9e7233bc8a08de2f40c040c0700c3e" target="_blank" rel="noreferrer">Commit</a> <a href="https://git.nemunai.re/teach/atsebay.t/commit/5c53d2eaea9e7233bc8a08de2f40c040c0700c3e" target="_blank" rel="noreferrer">Commit</a>
</p> </p>
</div> </div>
</div> </div>