2025-07-02 11:17:58 +05:00
|
|
|
clone:
|
|
|
|
|
git:
|
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
|
settings:
|
|
|
|
|
lfs: true
|
|
|
|
|
|
2025-07-01 14:11:16 +05:00
|
|
|
when:
|
|
|
|
|
event: [push, tag]
|
|
|
|
|
branch: main
|
|
|
|
|
|
2025-06-27 14:55:47 +05:00
|
|
|
steps:
|
2025-07-01 14:11:16 +05:00
|
|
|
checkout:
|
2025-06-27 14:55:47 +05:00
|
|
|
image: debian:latest
|
2025-07-02 11:17:58 +05:00
|
|
|
environment:
|
2025-07-02 11:02:30 +05:00
|
|
|
GONETS:
|
2025-07-02 10:53:40 +05:00
|
|
|
from_secret: GONETS
|
2025-06-27 15:12:04 +05:00
|
|
|
commands:
|
2025-07-01 14:11:16 +05:00
|
|
|
- apt update
|
|
|
|
|
- apt install -y git git-lfs
|
|
|
|
|
- git lfs install
|
2025-07-02 11:42:40 +05:00
|
|
|
- echo $${GONETS}
|
2025-07-02 11:00:29 +05:00
|
|
|
- git config user.name "s.galanskiy"
|
|
|
|
|
- git config user.email "s.galanskiy@gossys.dev"
|
2025-07-02 11:32:27 +05:00
|
|
|
- git remote -v
|
|
|
|
|
- rm -f ~/.git-credentials
|
2025-07-02 11:42:40 +05:00
|
|
|
- git config --global --unset credential.helper
|
|
|
|
|
- git config --global credential.helper store
|
2025-07-02 11:32:27 +05:00
|
|
|
- echo "https://s.galanskiy:${GONETS}@dev.gossys.dev" > ~/.git-credentials
|
2025-07-02 11:23:42 +05:00
|
|
|
- git ls-remote origin
|
2025-07-02 10:59:24 +05:00
|
|
|
- git fetch --all
|
|
|
|
|
- git checkout develop
|
2025-07-02 11:17:58 +05:00
|
|
|
- git commit --allow-empty -m "Тестовый коммит"
|
|
|
|
|
- git push -u origin develop
|