From 59ea4cd0ea726557bee58c2fcdca7b36beb71a02 Mon Sep 17 00:00:00 2001 From: J2-D2-3PO <188380414+J2-D2-3PO@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:16:35 -0700 Subject: [PATCH] Remove check step, update path --- .github/workflows/generate-llms.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/generate-llms.yaml b/.github/workflows/generate-llms.yaml index 8714779753d1..196736632028 100644 --- a/.github/workflows/generate-llms.yaml +++ b/.github/workflows/generate-llms.yaml @@ -29,17 +29,11 @@ jobs: source .venv/bin/activate python $GITHUB_WORKSPACE/docs/scripts/generate_llmstxt.py - - name: Check if llms.txt exists - run: | - if [ ! -f weave/docs/static/llms.txt ]; then - echo "Error: llms.txt was not generated." - exit 1 - fi - name: Commit and push changes run: | git config user.name "llms.py GitHub Actions Bot" git config user.email "actions@github.com" - git add weave/docs/static/llms.txt + git add docs/static/llms.txt git diff-index --quiet HEAD || git commit -m "Auto-generate llms.txt" git push origin test-llmspy-action env: