Skip to content
Snippets Groups Projects
Commit bb85866e authored by Ciro Santilli's avatar Ciro Santilli
Browse files

depth 1

parent 96e9a942
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ git push git@gitlab.com:cirosantilli/china-dictatorship.git
gh_pages_dir=out/gh-pages
if [ ! -d "$gh_pages_dir" ]; then
mkdir -p "$gh_pages_dir"
git clone --branch gh-pages "$(git remote get-url origin)"
git clone --branch gh-pages --depth 1 "$(git remote get-url origin)" "$gh_pages_dir"
fi
cp README.html "${gh_pages_dir}/index.html"
cp .gitlab-ci.yml "${gh_pages_dir}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment