From 633d6c339d6324e0f04806f5fc6a23b5d674cea5 Mon Sep 17 00:00:00 2001 From: Dmitriy Fofanov Date: Wed, 5 Nov 2025 10:28:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20set=20-euo=20pipefail=20=D0=B2?= =?UTF-8?q?=20=D1=85=D1=83=D0=BA=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gitea-hooks/post-receive | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gitea-hooks/post-receive b/gitea-hooks/post-receive index a406c47..dde5ceb 100644 --- a/gitea-hooks/post-receive +++ b/gitea-hooks/post-receive @@ -1,5 +1,7 @@ #!/bin/bash +set -euo pipefail + # ============================================================================== # Post-receive hook для Gitea # Автоматически синхронизирует изменения с GitHub после push @@ -12,7 +14,7 @@ # ============================================================================== # Конфигурация -GITHUB_REPO="git@github.com:fofanov.dmitry/compress.git" +GITHUB_REPO="git@github.com:DFofanov/compress.git" # Или с HTTPS и токеном: # GITHUB_REPO="https://YOUR_GITHUB_TOKEN@github.com/fofanov.dmitry/compress.git"