-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|