From f60568fcf0b1e8f6d2ce13eee9c6f70293823a2c Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Fri, 27 Jun 2025 11:08:30 +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 | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 50f20d8..5af06c0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,20 +3,10 @@ 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://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 + image: woodpeckerci/plugin-git-checkout:latest + settings: + depth: 0 + ref: main install_deps: image: debian:latest @@ -56,7 +46,7 @@ steps: prepare_debian: image: debian:latest commands: - - DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --only + - DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --createorig - cd debian/ - rm -f *.ex - rm -f README.* @@ -100,4 +90,4 @@ steps: - git commit -am "Релиз $VERSION" - git tag "v$VERSION" - git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git develop - - git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION" \ No newline at end of file + - git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"