Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
ci(github): Generate the MkDocs website
Browse files Browse the repository at this point in the history
  • Loading branch information
CLOVIS-AI committed Jul 13, 2024
1 parent 9f277f9 commit 3fa55ba
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/Website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Website

on: push

#on:
# push:
# branches:
# - main

jobs:
mkdocs:
name: Generate the MkDocs website
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install MkDocs
run: pip install mkdocs-material[imaging]
- name: Generate the website
run: |
pushd docs/website
mkdocs build --site-dir ../../docs-website
popd
ls
- uses: actions/upload-pages-artifact@v3
with:
path: docs-website

0 comments on commit 3fa55ba

Please sign in to comment.