Debug
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Marcin-Ramotowski
2025-07-22 18:57:56 +02:00
parent 64c64487b7
commit c8c811b479

View File

@ -30,17 +30,10 @@ steps:
image: alpine/git image: alpine/git
environment: environment:
MY_VAR1: test-value MY_VAR1: test-value
MY_VAR2:
from_secret: gitea-deploy-key
MY_VAR3:
from_secret: gitea-known-host
commands: commands:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$${MY_VAR3}" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- echo "$${MY_VAR2}" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- git config --global user.name "woodpecker[bot]" - git config --global user.name "woodpecker[bot]"
- git config --global user.email "woodpecker@marcin00.pl" - git config --global user.email "woodpecker@marcin00.pl"
- git clone "${MY_VAR1}" --branch woodpecker-deploy - echo $MY_VAR1
- git clone ${MY_VAR1} --branch woodpecker-deploy
- cd user-microservice-deploy - cd user-microservice-deploy