go for cloning the gh-pages branch directly

This avoids pulling in the entire history of the master branch
This commit is contained in:
Andre Klärner
2021-10-03 22:36:04 +02:00
committed by GitHub
parent e4add31793
commit e769ddece4

View File

@@ -66,9 +66,8 @@ node dist/src/spec/webdriverio.js
## Write docs
```
git clone https://github.com/thomasnordquist/MQTT-Explorer.git mqtt-explorer-pages
git clone --single-branch -b gh-pages https://github.com/thomasnordquist/MQTT-Explorer.git mqtt-explorer-pages
cd mqtt-explorer-pages
git checkout gh-pages
bundle install
bundle exec jekyll serve --incremental
```