Replaced `git push --mirror` with `git push --all` in drone.yml.
continuous-integration/drone/push Build is passing Details

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: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 2 additions and 1 deletions

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