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:
Fabio Manganiello 2023-07-25 00:21:56 +02:00
parent e240a8d3dc
commit 82811a11a6
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -25,9 +25,10 @@ steps:
EOF
- chmod 0600 ~/.ssh/id_rsa
- 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 pull github master
- git push --mirror -v github
- git push --all -v github
- name: run-tests
image: python:3.11-alpine