Actualiser cookcli/rootfs/etc/services.d/git-sync/run

This commit is contained in:
TheThomaas 2026-09-06 07:42:01 +00:00
parent 2f15cb2560
commit d5789e2e3a

View file

@ -3,11 +3,13 @@ set -e
# --- Fonction de synchronisation Git ---
sync_git() {
bashio::log.info "=== Service de synchronisation Git 2 ==="
local REPO=$(bashio::config 'git_repository')
local BRANCH=$(bashio::config 'git_branch')
local USERNAME=$(bashio::config 'git_username')
local PASSWORD=$(bashio::config 'git_password')
local PATH=$(bashio::config 'recipes_path')
bashio::log.info "=== Service de synchronisation Git 3 ==="
if [ -z "$REPO" ]; then
bashio::log.info "Aucun dépôt Git configuré. Attente..."