gonets/.woodpecker/.woodpecker.yml

22 lines
No EOL
717 B
YAML

when:
event: [push, tag]
branch: main
steps:
checkout:
image: debian:latest
environment:
commands:
- apt update
- apt install -y git git-lfs
- git lfs install
- echo "Тест: статический токен используется"
- git config user.name "s.galanskiy"
- git config user.email "s.galanskiy@gossys.dev"
- git remote -v
- git remote set-url origin https://s.galanskiy:b4785198d18200dfed812dc4299575f736255bd7@dev.gossys.dev/s.galanskiy/gonets.git
- git ls-remote origin
- git fetch --all
- git checkout develop
- git commit --allow-empty -m "Тестовый коммит"
- git push -u origin develop