From a1ae57124bf67e05932db4005da7329fd0a17e68 Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Fri, 27 Jun 2025 10:04:47 +0500 Subject: [PATCH] ci/cd-2 --- .woodpecker/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index 94d6af0..5af06c0 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -1,4 +1,5 @@ -name: release +when: + event: [push, tag] steps: checkout: @@ -52,7 +53,9 @@ steps: clone_debian_config: image: debian:latest - secrets: [ GONETS ] + environment: + GONETS: + from_secret: GONETS commands: - git clone https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets-debian-template.git - mv gonets-debian-template/changelog gonets/debian/ @@ -76,7 +79,9 @@ steps: commit_changes: image: debian:latest - secrets: [ GONETS ] + environment: + GONETS: + from_secret: GONETS commands: - source version.env - git config user.name "s.galanskiy"