From 9780bd97445b5ade3ac98e86a411cba0da0cabb6 Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Wed, 2 Jul 2025 12:20:18 +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/.woodpecker.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/.woodpecker.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.woodpecker/.woodpecker.yml b/.woodpecker/.woodpecker.yml index ac4319c..02cd1ec 100644 --- a/.woodpecker/.woodpecker.yml +++ b/.woodpecker/.woodpecker.yml @@ -1,27 +1,27 @@ -clone: - git: - image: woodpeckerci/plugin-git - settings: - lfs: true - when: event: [push, tag] branch: main steps: checkout: - image: woodpeckerci/plugin-git - settings: - remote: ssh://git@dev.gossys.dev/s.galanskiy/gonets.git - branch: develop - ssh_key: - from_secret: GONETS - - commit: image: debian:latest + environment: + GONETS: + from_secret: GONETS commands: - - apt update && apt install -y git + - apt update + - apt install -y git git-lfs + - git lfs install + - echo $${GONETS} - git config user.name "s.galanskiy" - git config user.email "s.galanskiy@gossys.dev" + - git remote -v + - rm -f ~/.git-credentials + - git config --global --unset credential.helper + - git config --global credential.helper store + - echo "https://s.galanskiy:${GONETS}@dev.gossys.dev" > ~/.git-credentials + - git ls-remote origin + - git fetch --all + - git checkout develop - git commit --allow-empty -m "Тестовый коммит" - - git push origin develop + - git push -u origin develop \ No newline at end of file