Обновить .woodpecker/.woodpecker.yml
This commit is contained in:
parent
9b8fdbf8b6
commit
00a9346594
1 changed files with 17 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue