drone: fix git fetch for main, too (#48)

Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/48
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
This commit is contained in:
teutat3s 2021-10-20 07:47:12 +00:00
parent 95f5430b2b
commit 36c6fdd254

View file

@ -36,10 +36,10 @@ 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
- git fetch --all
- git checkout origin/main
- ./.drone/upstream-branch.sh
- name: "Open pull request for failed merge"