From 95f5430b2b7921fe68eb4cc538decb1305d03a89 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 13 Oct 2021 22:08:30 +0000 Subject: [PATCH] drone: git fetch before doing git checkout (#46) Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/46 Co-authored-by: teutat3s Co-committed-by: teutat3s --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 85891705..f9b3d07d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,6 +36,7 @@ steps: GITEA_SSH_KEY: from_secret: gitea_ssh_key commands: + - git fetch --all - git checkout origin/main - ./.drone/setup_ssh.sh - git remote set-url origin git@git.b12f.io:pub-solar/os