Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
ci(docs): split validate (fast, all PRs) and deploy (main only) jobs
KaifAhmad1cebb5fb73670
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex de510a95..a90b43d9 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -25,26 +25,28 @@ concurrency:cancel-in-progress: falsejobs:- build:- name: Build Documentation+ validate:+ name: Validate Documentationruns-on: ubuntu-lateststeps:- - name: Checkout code- uses: actions/checkout@v4-- - name: Set up Python- uses: actions/setup-python@v5+ - uses: actions/checkout@v4+ - uses: actions/setup-python@v5with:python-version: '3.11'+ - run: python docs_check.py++ deploy:+ name: Build and Deploy to GitHub Pages+ if: github.event_name != 'pull_request'+ runs-on: ubuntu-latest+ needs: validate+ steps:+ - uses: actions/checkout@v4- - name: Set up Node.js- uses: actions/setup-node@v4+ - uses: actions/setup-node@v4with:node-version: '20'- - name: Validate docs structure- run: python docs_check.py-- name: Export static siterun: |cd docs@@ -52,25 +54,12 @@ jobs:cd ..unzip -q export.zip -d site- - name: Setup Pages- if: github.event_name != 'pull_request'- uses: actions/configure-pages@v6+ - uses: actions/configure-pages@v6- - name: Upload artifact- if: github.event_name != 'pull_request'- uses: actions/upload-pages-artifact@v5+ - uses: actions/upload-pages-artifact@v5with:path: ./site- deploy:- name: Deploy to GitHub Pages- if: github.event_name != 'pull_request'- environment:- name: github-pages- url: ${{ steps.deployment.outputs.page_url }}- runs-on: ubuntu-latest- needs: build- steps:- name: Deploy to GitHub Pagesid: deploymentuses: actions/deploy-pages@v5