diff --git a/.woodpecker/.woodpecker.yml b/.woodpecker/.woodpecker.yml index 8e9bbcd..bb574dd 100644 --- a/.woodpecker/.woodpecker.yml +++ b/.woodpecker/.woodpecker.yml @@ -15,13 +15,17 @@ steps: GONETS: from_secret: GONETS commands: - - echo $${GONETS} - 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 set-url origin https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git + - git remote -v + - rm -f ~/.git-credentials + - git config --global --unset credential.helper + - echo "https://s.galanskiy:${GONETS}@dev.gossys.dev" > ~/.git-credentials + - git config --global credential.helper store - git ls-remote origin - git fetch --all - git checkout develop