drone: fix git fetch for main, too

This commit is contained in:
teutat3s 2021-10-20 09:52:21 +02:00
parent 36c6fdd254
commit 2e9373b0da
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -36,10 +36,10 @@ steps:
GITEA_SSH_KEY:
from_secret: gitea_ssh_key
commands:
- 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"