Обновить .woodpecker/.woodpecker.yml
This commit is contained in:
parent
a4066069ff
commit
989b2ea45f
1 changed files with 7 additions and 17 deletions
|
|
@ -10,24 +10,14 @@ when:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
checkout:
|
checkout:
|
||||||
image: debian:latest
|
image: woodpeckerci/plugin-git
|
||||||
environment:
|
settings:
|
||||||
GONETS:
|
remote: ssh://git@dev.gossys.dev/s.galanskiy/gonets.git
|
||||||
from_secret: GONETS
|
branch: develop
|
||||||
|
ssh_key:
|
||||||
|
from_secret: push
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
|
||||||
- apt install -y git git-lfs
|
|
||||||
- git lfs install
|
|
||||||
- echo $${GONETS}
|
|
||||||
- git config user.name "s.galanskiy"
|
- git config user.name "s.galanskiy"
|
||||||
- git config user.email "s.galanskiy@gossys.dev"
|
- 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 commit --allow-empty -m "Тестовый коммит"
|
||||||
- git push -u origin develop
|
- git push origin develop
|
||||||
Loading…
Add table
Add a link
Reference in a new issue