From 82811a11a6e84270b2f519ad0450497495137ec2 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 25 Jul 2023 00:21:56 +0200 Subject: [PATCH] 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. --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b00d5e4d68..20f701a5c9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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