Actualiser cookcli/rootfs/etc/services.d/git-sync/run
This commit is contained in:
parent
2708ad0161
commit
758abf4d1a
|
|
@ -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..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue