From fe32ee55c2b806ac0d64774e5c713804ec5e5de7 Mon Sep 17 00:00:00 2001 From: karpenok Date: Sun, 8 Nov 2026 01:21:02 +0700 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=D0=BA=D0=BB=D0=BE=D0=BD=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D1=80=D0=B5=D0=BF=D0=BE=D0=B7?= =?UTF-8?q?=D0=B8=D1=82=D0=BE=D1=80=D0=B8=D0=B9=20=D0=B2=D0=BD=D0=B5=20/tm?= =?UTF-8?q?p,=20=D1=87=D1=82=D0=BE=D0=B1=D1=8B=20Ansible=20=D1=87=D0=B8?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=20ansible.cfg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .gitea/workflows/netbird-install.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/netbird-install.yml b/.gitea/workflows/netbird-install.yml index 060a45a..b8f9913 100644 --- a/.gitea/workflows/netbird-install.yml +++ b/.gitea/workflows/netbird-install.yml @@ -36,18 +36,18 @@ jobs: sudo apt-get install -y git openssh-client ansible-core python3 fi - rm -rf /tmp/homelab-infra - git clone https://gitea.gunihome.ru/karpenok/homelab-infra.git /tmp/homelab-infra + rm -rf "${HOME}/homelab-infra" + git clone https://gitea.gunihome.ru/karpenok/homelab-infra.git "${HOME}/homelab-infra" sha="${GITHUB_SHA:-${GITEA_SHA:-}}" if [ -n "${sha}" ]; then - git -C /tmp/homelab-infra checkout "${sha}" + git -C "${HOME}/homelab-infra" checkout "${sha}" fi install -d -m 700 "${HOME}/.ssh" printf '%s\n' "${RUNNER_SSH_KEY}" > "${HOME}/.ssh/id_ed25519" chmod 600 "${HOME}/.ssh/id_ed25519" - cd /tmp/homelab-infra + cd "${HOME}/homelab-infra" ansible-inventory -i inventories/prod/hosts.yml --list > /tmp/inventory.json python3 - <<'PY' import json, subprocess