gonets/.woodpecker/.woodpecker.yml

27 lines
605 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
lfs: true
when:
event: [push, tag]
branch: main
steps:
checkout:
image: woodpeckerci/plugin-git
settings:
remote: ssh://git@dev.gossys.dev/s.galanskiy/gonets.git
branch: develop
ssh_key:
from_secret: push
commit:
image: debian:latest
commands:
- apt update && apt install -y git
- git config user.name "s.galanskiy"
- git config user.email "s.galanskiy@gossys.dev"
- git commit --allow-empty -m "Тестовый коммит"
- git push origin develop