Skip to content

Commit

Permalink
fix docs build for real
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Nov 7, 2018
1 parent 2af4ce9 commit 10169e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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, "[email protected]: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, "[email protected]:lihaoyi/mill.git").call(cwd = os.pwd / 'target)
os.proc("git", 'push, "-uf", 'origin, "master:gh-pages").call(cwd = os.pwd / 'target)
}
}
}

0 comments on commit 10169e0

Please sign in to comment.