|
@@ -5,6 +5,7 @@ build_branch:
|
|
script:
|
|
script:
|
|
#- chmod 0600 keys/*
|
|
#- chmod 0600 keys/*
|
|
#- eval $(ssh-agent); ssh-add keys/gogs.drone.id_rsa
|
|
#- eval $(ssh-agent); ssh-add keys/gogs.drone.id_rsa
|
|
|
|
+ - ssh -v git@gogs.infra.flowdat.com -p222
|
|
- git fetch --tags
|
|
- git fetch --tags
|
|
- if git ls-remote --exit-code gogs &>/dev/null; then echo 'Existe el remote gogs' ; else git remote add gogs ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/php-docker-lib.git ; fi
|
|
- if git ls-remote --exit-code gogs &>/dev/null; then echo 'Existe el remote gogs' ; else git remote add gogs ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/php-docker-lib.git ; fi
|
|
#- if git ls-remote --exit-code gogs &>/dev/null; then echo 'Existe el remote gogs' ; else git remote add gogs https://gogs.infra.flowdat.com/VendorSoftwareFlowdat3/php-docker-lib.git ; fi
|
|
#- if git ls-remote --exit-code gogs &>/dev/null; then echo 'Existe el remote gogs' ; else git remote add gogs https://gogs.infra.flowdat.com/VendorSoftwareFlowdat3/php-docker-lib.git ; fi
|