2020-02-14 02:57:15 +00:00
|
|
|
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
|
|
|
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
|
|
|
|
2020-02-17 21:12:49 +00:00
|
|
|
sourceUrlGitea = "git@git.semicolin:semicolin/sneak-private.git"
|
|
|
|
destinationUrlGitea = "git@git.semicolin:semicolin/sneak.git"
|
2020-02-14 02:57:15 +00:00
|
|
|
|
|
|
|
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
|
|
|
|
|
|
|
core.workflow(
|
|
|
|
name = "github",
|
|
|
|
mode = "ITERATIVE",
|
|
|
|
origin = git.origin(
|
|
|
|
url = sourceUrlGitHub,
|
|
|
|
ref = "master",
|
|
|
|
),
|
|
|
|
destination = git.destination(
|
|
|
|
url = destinationUrlGitHub,
|
|
|
|
fetch = "master",
|
|
|
|
push = "master",
|
|
|
|
),
|
|
|
|
origin_files = glob(files),
|
|
|
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
|
|
|
)
|
|
|
|
|
|
|
|
core.workflow(
|
|
|
|
name = "gitea",
|
|
|
|
mode = "ITERATIVE",
|
|
|
|
origin = git.origin(
|
|
|
|
url = sourceUrlGitea,
|
|
|
|
ref = "master",
|
|
|
|
),
|
|
|
|
destination = git.destination(
|
|
|
|
url = destinationUrlGitea,
|
|
|
|
fetch = "master",
|
|
|
|
push = "master",
|
|
|
|
),
|
|
|
|
origin_files = glob(files),
|
|
|
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
|
|
|
)
|
|
|
|
|
|
|
|
|