Update command to use no-discover-entity-types (#2038) #593
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: gh-pages | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| env: | |
| PYTHON_VERSION: "3.11" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| GH_PAGES: 1 | |
| DEBUG: 1 | |
| GRAPHRAG_API_KEY: ${{ secrets.GRAPHRAG_API_KEY }} | |
| GRAPHRAG_LLM_MODEL: ${{ secrets.GRAPHRAG_LLM_MODEL }} | |
| GRAPHRAG_EMBEDDING_MODEL: ${{ secrets.GRAPHRAG_EMBEDDING_MODEL }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ env.PYTHON_VERSION }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install dependencies | |
| shell: bash | |
| run: uv sync --extra dev | |
| - name: mkdocs build | |
| shell: bash | |
| run: uv run poe build_docs | |
| - name: List Docsite Contents | |
| run: find site | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: site | |
| clean: true |