Skip to content

Commit

Permalink
fix db docs by using ghp-import (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored Apr 19, 2024
1 parent 8616909 commit 2d6e6d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ 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
if-no-files-found: error

- 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
2 changes: 1 addition & 1 deletion website/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions website/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2d6e6d0

Please sign in to comment.