From b67a09ba9385fdad5fc66f093bc9e43f4781135a Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Tue, 17 Dec 2024 06:06:34 +0000 Subject: [PATCH] Install quarto before processing the notebooks --- .github/workflows/deploy-website-mintlify.yml | 3 ++ .../test-deploy-website-mintlify.yml | 43 ------------------- 2 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 .github/workflows/test-deploy-website-mintlify.yml diff --git a/.github/workflows/deploy-website-mintlify.yml b/.github/workflows/deploy-website-mintlify.yml index d5f02da30f..3f76ce7b2d 100644 --- a/.github/workflows/deploy-website-mintlify.yml +++ b/.github/workflows/deploy-website-mintlify.yml @@ -30,6 +30,9 @@ jobs: pip install pydoc-markdown pyyaml termcolor nbconvert pip install databind.core==4.4.2 databind.json==4.4.2 + - name: Install quarto + uses: quarto-dev/quarto-actions/setup@v2 + - name: Convert Jupyter notebooks to MDX run: | python ./process_notebooks.py render diff --git a/.github/workflows/test-deploy-website-mintlify.yml b/.github/workflows/test-deploy-website-mintlify.yml deleted file mode 100644 index ab1861e42b..0000000000 --- a/.github/workflows/test-deploy-website-mintlify.yml +++ /dev/null @@ -1,43 +0,0 @@ -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: Install quarto - uses: quarto-dev/quarto-actions/setup@v2 - - - 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/ \;