gonets/.woodpecker/.woodpecker.yml

24 lines
596 B
YAML

when:
event: [push, tag]
branch: main
steps:
checkout:
image: debian:latest
settings:
GONETS:
from_secret: GONETS
commands:
# ПОДГОТОВКА ГИТА И КЛОНИРОВАНИЕ GONETS
- apt update
- apt install -y git git-lfs
- git lfs install
- echo "GONETS=${GONETS}"
- git config user.name "s.galanskiy"
- git config user.email "s.galanskiy@gossys.dev"
- git fetch --all
- git branch -r
- git reset --hard
- git clean -fd
- git checkout develop
- git push -u origin develop