Skip to content

Add Dappier Search Tool #14

Add Dappier Search Tool

Add Dappier Search Tool #14

name: Compile llms.txt
on:
pull_request:
types:
- closed
branches:
- main
paths:
- 'docs/**/*.mdx'
- 'docs/compile_llms_txt.py'
jobs:
compile:
# Only run if the PR was merged (not just closed)
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Compile llms.txt
run: |
cd docs
python compile_llms_txt.py
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add docs/llms.txt
git commit -m "Update llms.txt" || exit 0
git push