on master help sign in
Merge pull request #2528 from dalf/mod-ci-gh-pages
321788fAlexandre Flament
.github/workflows/integration.yml+1−1
@@ -73,7 +73,7 @@ jobs:
73 python-version: '3.9'
73 python-version: '3.9'
74 architecture: 'x64'
74 architecture: 'x64'
75 - name: Build documentation
75 - name: Build documentation
76− run: SEARX_DEBUG=1 make V=1 travis-gh-pages
76+ run: SEARX_DEBUG=1 make V=1 ci-gh-pages
77 - name: Deploy
77 - name: Deploy
78 if: github.ref == 'refs/heads/master'
78 if: github.ref == 'refs/heads/master'
79 uses: JamesIves/github-pages-deploy-action@3.7.1
79 uses: JamesIves/github-pages-deploy-action@3.7.1
utils/makefile.sphinx+2−2
@@ -186,8 +186,8 @@ gh-pages: docs-clean docs
186 git commit -q -m "make gh-pages: from $(shell git config --get remote.origin.url)@$(shell git rev-parse HEAD)" ;\
186 git commit -q -m "make gh-pages: from $(shell git config --get remote.origin.url)@$(shell git rev-parse HEAD)" ;\
187 git push -f origin gh-pages
187 git push -f origin gh-pages
188
188
189−PHONY += travis-gh-pages
189+PHONY += ci-gh-pages
190−travis-gh-pages: docs-clean docs
190+ci-gh-pages: docs-clean docs
191 rm -Rf $(GH_PAGES)
191 rm -Rf $(GH_PAGES)
192 mkdir -p $(GH_PAGES)
192 mkdir -p $(GH_PAGES)
193 $(MAKE) prepare-gh-pages
193 $(MAKE) prepare-gh-pages