use gh if available when cloning site
This commit is contained in:
parent
296062b869
commit
da95cbd1bf
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -23,7 +23,7 @@ test:
|
|||
.PHONY: test
|
||||
|
||||
site:
|
||||
git clone https://github.com/github/cli.github.com.git "$@"
|
||||
(which gh 2>/dev/null && gh repo clone github/cli.github.com "$@") || git clone https://github.com/github/cli.github.com.git "$@"
|
||||
|
||||
site-docs: site
|
||||
git -C site pull
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue