# Mirror Sourcehut repositories to GitHub image: alpine/latest sources: - https://git.sr.ht/~username/repository secrets: - big-long-uuid # this is your public SSH key, add it to GitHub at https://github.com/settings/keys and Sourcehut at https://builds.sr.ht/secrets tasks: - mirror-to-github: | cd repository git remote add github git@github.com:username/repository.git ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts git push github main