17 lines
517 B
YAML
17 lines
517 B
YAML
steps:
|
|
push:
|
|
image: debian:latest
|
|
environment:
|
|
GONETS:
|
|
from_secret: GONETS
|
|
commands:
|
|
- apt update && apt install -y git
|
|
- git config --global user.name "s.galanskiy"
|
|
- git config --global user.email "s.galanskiy@gossys.dev"
|
|
- echo "GONETS=$GONETS"
|
|
- git fetch --all
|
|
- git branch -r
|
|
- git reset --hard
|
|
- git clean -fd
|
|
- git checkout develop
|
|
- git push "https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git" develop
|