drone: git fetch before doing git checkout #46

Merged
teutat3s merged 1 commit from refs/pull/46/head into main 2021-10-13 22:08:31 +00:00
Showing only changes of commit 5c67290549 - Show all commits

View file

@ -36,6 +36,7 @@ steps:
GITEA_SSH_KEY: GITEA_SSH_KEY:
from_secret: gitea_ssh_key from_secret: gitea_ssh_key
commands: commands:
- git fetch --all
- git checkout origin/main - 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