diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-22 23:28:07 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-22 23:28:07 +0100 |
commit | d3e4e81fafbdf24604924ce34c70c511c0531301 (patch) | |
tree | 4bbeb69b6363dc5608b42f82178ff62f1ed5d2df /utils | |
parent | 90174e215c2eeb44ad8d76d7389ec5f661e63b82 (diff) | |
download | searxng-d3e4e81fafbdf24604924ce34c70c511c0531301.tar.gz searxng-d3e4e81fafbdf24604924ce34c70c511c0531301.zip |
makefile.sphinx: fix gh-pages / pull before add commits
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/makefile.sphinx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/makefile.sphinx b/utils/makefile.sphinx index 5cbc5ebdd..2c1922fc9 100644 --- a/utils/makefile.sphinx +++ b/utils/makefile.sphinx @@ -198,6 +198,7 @@ $(GH_PAGES):: $(MAKE) docs [ -d "gh-pages/.git" ] || git clone $(GIT_URL) gh-pages -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 cp -r $(DOCS_DIST)/* $(GH_PAGES)/ touch $(GH_PAGES)/.nojekyll |