diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 04cd9a63..ba513b2f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -92,7 +92,7 @@ jobs: cp -r model-documentation site/ - uses: actions/upload-artifact@v4 - # if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' }} with: name: website path: website/site @@ -100,4 +100,4 @@ jobs: - name: Deploy to GitHub Pages if: contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) - run: mkdocs gh-deploy --force + run: ghp-import --push --force --no-jekyll site diff --git a/website/mkdocs.yml b/website/mkdocs.yml index 810b93ad..75e9e708 100644 --- a/website/mkdocs.yml +++ b/website/mkdocs.yml @@ -56,7 +56,7 @@ nav: - Desktop: desktop.md - Mobile: mobile.md - Feuille de route: roadmap.md - - Documentation BD: datamodel-doc.fr.md + - Documentation BD: /model-documentation/ # Css extra_css: diff --git a/website/requirements.txt b/website/requirements.txt index b8632019..0fc25092 100644 --- a/website/requirements.txt +++ b/website/requirements.txt @@ -2,3 +2,4 @@ mkdocs-material==9.5.17 mkdocs-video==1.5.0 mkdocs-static-i18n==1.2.2 fancyboxmd==1.1.0 +ghp-import==2.1.0