Skip to content

Commit

Permalink
Remove check step, update path
Browse files Browse the repository at this point in the history
  • Loading branch information
J2-D2-3PO committed Nov 22, 2024
1 parent 67814d3 commit 59ea4cd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/generate-llms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
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:
Expand Down

0 comments on commit 59ea4cd

Please sign in to comment.