mirror of https://github.com/searxng/searxng.git
[mod] CI: minor changes
* utils/makefile.python: travis-gh-pages renamed ci-gh-pages
This commit is contained in:
parent
34de715e62
commit
90b9d0d6a8
|
@ -73,7 +73,7 @@ jobs:
|
||||||
python-version: '3.9'
|
python-version: '3.9'
|
||||||
architecture: 'x64'
|
architecture: 'x64'
|
||||||
- name: Build documentation
|
- name: Build documentation
|
||||||
run: SEARX_DEBUG=1 make V=1 travis-gh-pages
|
run: SEARX_DEBUG=1 make V=1 ci-gh-pages
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||||
|
|
|
@ -186,8 +186,8 @@ gh-pages: docs-clean docs
|
||||||
git commit -q -m "make gh-pages: from $(shell git config --get remote.origin.url)@$(shell git rev-parse HEAD)" ;\
|
git commit -q -m "make gh-pages: from $(shell git config --get remote.origin.url)@$(shell git rev-parse HEAD)" ;\
|
||||||
git push -f origin gh-pages
|
git push -f origin gh-pages
|
||||||
|
|
||||||
PHONY += travis-gh-pages
|
PHONY += ci-gh-pages
|
||||||
travis-gh-pages: docs-clean docs
|
ci-gh-pages: docs-clean docs
|
||||||
rm -Rf $(GH_PAGES)
|
rm -Rf $(GH_PAGES)
|
||||||
mkdir -p $(GH_PAGES)
|
mkdir -p $(GH_PAGES)
|
||||||
$(MAKE) prepare-gh-pages
|
$(MAKE) prepare-gh-pages
|
||||||
|
|
Loading…
Reference in New Issue