drone: git fetch before doing git checkout (#46)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/46 Co-authored-by: teutat3s <teutates@mailbox.org> Co-committed-by: teutat3s <teutates@mailbox.org>
This commit is contained in:
parent
2e2e48b607
commit
95f5430b2b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue