diff --git a/.github/workflows/Deploy_MkDocs.yml b/.github/workflows/Deploy_MkDocs.yml new file mode 100644 index 0000000..5097e9a --- /dev/null +++ b/.github/workflows/Deploy_MkDocs.yml @@ -0,0 +1,29 @@ +name: Deploy MkDocs to GitHub Pages + +on: + push: + branches: + - main # or the branch you want to deploy from + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' # specify the Python version + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install mkdocs mkdocs-material + + - name: Build and deploy + run: | + mkdocs build + mkdocs gh-deploy --force