forked from platypush/platypush
Replaced git push --mirror
with git push --all
in drone.yml.
If the local clone doesn't have the tags or branches for some reason, we don't want to lose that information on the Github repo.
This commit is contained in:
parent
e240a8d3dc
commit
82811a11a6
1 changed files with 2 additions and 1 deletions
|
@ -25,9 +25,10 @@ steps:
|
||||||
EOF
|
EOF
|
||||||
- chmod 0600 ~/.ssh/id_rsa
|
- chmod 0600 ~/.ssh/id_rsa
|
||||||
- ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null
|
- ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null
|
||||||
|
- git config --global --add safe.directory $PWD
|
||||||
- git remote add github git@github.com:/BlackLight/platypush.git
|
- git remote add github git@github.com:/BlackLight/platypush.git
|
||||||
- git pull github master
|
- git pull github master
|
||||||
- git push --mirror -v github
|
- git push --all -v github
|
||||||
|
|
||||||
- name: run-tests
|
- name: run-tests
|
||||||
image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
|
|
Loading…
Reference in a new issue