diff options
-rw-r--r-- | docs/build.sc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/build.sc b/docs/build.sc index a412e410..47779c5e 100644 --- a/docs/build.sc +++ b/docs/build.sc @@ -184,10 +184,10 @@ def main(publish: Boolean = false) = { } if (publish){ - os.proc("git", 'init).call(cwd = cwd / 'target) - os.proc("git", 'add, "-A", ".").call(cwd = cwd / 'target) - os.proc("git", 'commit, "-am", "first commit").call(cwd = cwd / 'target) - os.proc("git", 'remote, 'add, 'origin, "git@github.com:lihaoyi/mill.git").call(cwd = cwd / 'target) - os.proc("git", 'push, "-uf", 'origin, "master:gh-pages").call(cwd = cwd / 'target) + os.proc("git", 'init).call(cwd = os.pwd / 'target) + os.proc("git", 'add, "-A", ".").call(cwd = os.pwd / 'target) + os.proc("git", 'commit, "-am", "first commit").call(cwd = os.pwd / 'target) + os.proc("git", 'remote, 'add, 'origin, "git@github.com:lihaoyi/mill.git").call(cwd = os.pwd / 'target) + os.proc("git", 'push, "-uf", 'origin, "master:gh-pages").call(cwd = os.pwd / 'target) } -}
\ No newline at end of file +} |