drone: fix git fetch for main, too #49

Merged
teutat3s merged 1 commit from refs/pull/49/head into main 2021-10-20 07:52:46 +00:00

View file

@ -36,10 +36,10 @@ steps:
GITEA_SSH_KEY: GITEA_SSH_KEY:
from_secret: gitea_ssh_key from_secret: gitea_ssh_key
commands: commands:
- git checkout origin/main
- ./.drone/setup_ssh.sh - ./.drone/setup_ssh.sh
- git remote set-url origin git@git.b12f.io:pub-solar/os - git remote set-url origin git@git.b12f.io:pub-solar/os
- git fetch --all - git fetch --all
- git checkout origin/main
- ./.drone/upstream-branch.sh - ./.drone/upstream-branch.sh
- name: "Open pull request for failed merge" - name: "Open pull request for failed merge"