From 900824089bd674c46fabe1b499d2e0c54c54cd15 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Thu, 27 Mar 2025 17:33:36 -0400 Subject: [PATCH] docs: disable link checking on push and workflow dispatch (#4061) --- .github/workflows/deploy_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 0e680fcd9..490169946 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -99,7 +99,7 @@ jobs: env: LANGCHAIN_API_KEY: test run: | - if [ "${{ github.event_name }}" == "schedule" ] || [ "${{ github.event_name }}" == "workflow_dispatch" ] || ([ "${{ github.event_name }}" == "push" ] && [ "${{ github.ref }}" == "refs/heads/main" ]); then + if [ "${{ github.event_name }}" == "schedule" ]; then echo "Running link check on all HTML files matching notebooks in docs directory..." poetry run pytest -v \ --check-links-ignore "https://(api|web|docs)\.smith\.langchain\.com/.*" \