Join @ghost_mirror
You can use this repos as a template First setup everything then push to your main private Repository
Fork this Repo, Setup secrets in settings --> Secrets
GH_TOKEN :- Your github personal access token, from https://github.com/settings/tokens
MIRROR_REPOSLUG :- Your Secret Repository, as in "<username>/<reponame>"
After that done, it should look like this
Then edit .github/workflows/mirror-bot.yml
Change GitHubMail
, GitHubName
and Branch
environment variable as your own
And That's it.