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

This commit is contained in:
TheThomaas 2026-09-06 08:02:07 +00:00
parent 2708ad0161
commit 758abf4d1a

View file

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