From 654281046e495cc913520c882c9a7d31e041cbca Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Fri, 27 Jun 2025 10:45:06 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.woodpecker.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index eaa1f30..50f20d8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,14 +4,17 @@ when: steps: checkout: image: debian:latest + environment: + GONETS: + from_secret: GONETS commands: - apt-get update - apt-get install -y git git-lfs - git lfs install - git init - - git remote add origin https://dev.gossys.dev/s.galanskiy/gonets.git - - git fetch --no-tags --depth=1 origin main - - git checkout main + - git remote add origin https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git + - git fetch --no-tags --depth=1 --filter=tree:0 origin 3671127db65ee6a7990216f7be2972534f13dd60 + - git checkout 3671127db65ee6a7990216f7be2972534f13dd60 - git lfs fetch - git submodule update --init --recursive --depth=1 --recommend-shallow