This commit is contained in:
Ciro Santilli
2020-03-22 00:00:02 +00:00
parent 0b362a83fb
commit 33ee7bf23d
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ gh_pages_dir=out/gh-pages
# and copy over https://github.com/cirosantilli/jekyll-min
if [ ! -d "$gh_pages_dir" ]; then
mkdir -p "$gh_pages_dir"
git clone . "$gh_pages_dir"
git clone --branch gh-pages "$(git remote get-url origin)"
fi
cp README.html "$gh_pages_dir"
git -C "$gh_pages_dir" add "README.html"