From 00a9346594bed0dba34d3cd5b14548d4c7a4525d Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Tue, 1 Jul 2025 14:10:31 +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 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.woodpecker.yml b/.woodpecker/.woodpecker.yml index 4b8bed9..6c4b988 100644 --- a/.woodpecker/.woodpecker.yml +++ b/.woodpecker/.woodpecker.yml @@ -5,4 +5,20 @@ steps: GONETS: from_secret: GONETS commands: - - ls -la + - apt update && apt install -y git + - git config --global user.name "s.galanskiy" + - git config --global user.email "s.galanskiy@gossys.dev" + + # πŸ‘‰ ΠΊΠ»ΠΎΠ½ΠΈΡ€ΡƒΠ΅ΠΌ Ρ€Π΅ΠΏΠΎΠ·ΠΈΡ‚ΠΎΡ€ΠΈΠΉ + - git clone "https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git" + + # πŸ‘‰ ΠΏΠ΅Ρ€Π΅ΠΊΠ»ΡŽΡ‡Π°Π΅ΠΌΡΡ Π½Π° Π½ΡƒΠΆΠ½ΡƒΡŽ Π²Π΅Ρ‚ΠΊΡƒ (Ссли Π½Π΅ ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ) + - git checkout develop || git checkout -b develop + + # πŸ‘‰ Π΄Π΅Π»Π°Π΅ΠΌ Ρ„ΠΈΠΊΡ‚ΠΈΠ²Π½Ρ‹ΠΉ ΠΊΠΎΠΌΠΌΠΈΡ‚ (для тСста) + - echo "trigger" > .woodpecker-test + - git add .woodpecker-test + - git commit -m "test: trigger push to develop" + + # πŸ‘‰ ΠΏΡƒΡˆΠΈΠΌ + - git push "https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git" develop