mirror of
https://github.com/searxng/searxng.git
synced 2024-08-21 13:50:16 +02:00
Merge pull request #2528 from dalf/mod-ci-gh-pages
[mod] CI: minor changes
This commit is contained in:
commit
321788f14a
2
.github/workflows/integration.yml
vendored
2
.github/workflows/integration.yml
vendored
@ -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
Block a user