Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.43 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.43 KB

Ghost Mirror Multi Job Workflow

Join @ghost_mirror

You can use this repos as a template First setup everything then push to your main private Repository

Prerequisite

Fork this Repo, Setup secrets in settings --> Secrets

GH_TOKEN :- Your github personal access token, from https://github.com/settings/tokens
MIRROR_REPOSLUG_1 :- Your 1st Secret Repository, as in "<username>/<reponame>"
MIRROR_REPOSLUG_2 :- Your 2nd Secret Repository, as in "<username>/<reponame>"

After that done, it should look like this image

Then edit .github/workflows/mirror-bot.yml

Change GitHubMail and GitHubName environment variable as your own.

GitHubMail :- Your github email address
GitHubName :- Your github username

image

Tip:-

If workflow stopped working or if you want to re-run the workflow, first make sure that workflow is stopped. You can stop the workflow in "actions" tab. Now to start the workflow, goto looper.txt and remove the last letter/digit i.e if its 12345 then remove the last letter/digit to make it 1234 and commit the file.

And That's it.

Thanks to ©ElytrA8 for the base of the workflow.