mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
makefile.sphinx: fix gh-pages / pull before add commits
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
90174e215c
commit
d3e4e81faf
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ $(GH_PAGES)::
|
||||||
$(MAKE) docs
|
$(MAKE) docs
|
||||||
[ -d "gh-pages/.git" ] || git clone $(GIT_URL) gh-pages
|
[ -d "gh-pages/.git" ] || git clone $(GIT_URL) gh-pages
|
||||||
-cd $(GH_PAGES); git checkout gh-pages >/dev/null
|
-cd $(GH_PAGES); git checkout gh-pages >/dev/null
|
||||||
|
-cd $(GH_PAGES); git pull
|
||||||
-cd $(GH_PAGES); ls -A | grep -v '.git$$' | xargs rm -rf
|
-cd $(GH_PAGES); ls -A | grep -v '.git$$' | xargs rm -rf
|
||||||
cp -r $(DOCS_DIST)/* $(GH_PAGES)/
|
cp -r $(DOCS_DIST)/* $(GH_PAGES)/
|
||||||
touch $(GH_PAGES)/.nojekyll
|
touch $(GH_PAGES)/.nojekyll
|
||||||
|
|
Loading…
Reference in a new issue