From 43d21e9c7db07110de5655485eb09f2e21675151 Mon Sep 17 00:00:00 2001 From: Hunter Lovell <40191806+hntrl@users.noreply.github.com> Date: Tue, 2 Dec 2025 05:43:57 -0800 Subject: [PATCH] chore(ci): disable redirects build hook (#6527) --- .github/workflows/deploy_docs.yml | 72 ------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 .github/workflows/deploy_docs.yml diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml deleted file mode 100644 index 61e696376..000000000 --- a/.github/workflows/deploy_docs.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Deploy Docs Redirects - -on: - push: - branches: - - main - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - -defaults: - run: - working-directory: docs - -jobs: - deploy: - runs-on: ubuntu-latest - timeout-minutes: 10 # Job will be cancelled if it runs for more than 10 minutes - env: - GITHUB_TOKEN: ${{ secrets.MKDOCS_GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Set up Python - uses: astral-sh/setup-uv@v7 - with: - python-version: "3.12" - enable-cache: true - cache-suffix: "docs" - - - name: Install dependencies - run: | - yarn - uv sync --all-groups - # we run this installation only for internal PRs - # as GITHUB_TOKEN is not available for PRs from outside contributors - if [ -n "${GITHUB_TOKEN}" ]; then - uv run pip install "git+https://${GITHUB_TOKEN}@github.com/langchain-ai/mkdocs-material-insiders.git" - fi - - - name: Build llms-text - run: make llms-text - - - name: Build site (redirects only) - run: make build-docs - env: - OPENAI_API_KEY: sf-proj-1234567890 # fake placeholder, shouldn't actually be used - ANTHROPIC_API_KEY: sk-ant-api03-1234567890 # fake placeholder, shouldn't actually be used - - - name: Configure GitHub Pages - if: github.ref == 'refs/heads/main' - uses: actions/configure-pages@v5 - - - name: Upload Pages Artifact - if: github.ref == 'refs/heads/main' - uses: actions/upload-pages-artifact@v4 - with: - path: ./docs/site/ - - - name: Deploy to GitHub Pages - if: github.ref == 'refs/heads/main' - id: deployment - uses: actions/deploy-pages@v4