Skip to content

WIP: Test workflow in feature branch #1

WIP: Test workflow in feature branch

WIP: Test workflow in feature branch #1

name: Test Deploy Mintlify Website
on:
push:
branches:
- fix-deploy-job
jobs:
deploy-website-mintlify:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pydoc-markdown pyyaml termcolor nbconvert
pip install databind.core==4.4.2 databind.json==4.4.2
- name: Convert Jupyter notebooks to MDX
run: |
python ./process_notebooks.py render
working-directory: website
- name: Prepare website content
run: |
# Create a temporary directory for filtered content
mkdir -p temp_website
# Copy all files except .ipynb and node_modules
find website -type f -not -path "*/node_modules/*" -not -name "*.ipynb" -exec cp --parents {} temp_website/ \;