docs: add Hermit agent skill (#581) #418
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - master | |
| name: Docs | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # ratchet:actions/checkout@master | |
| with: | |
| submodules: true | |
| - name: Init Hermit | |
| uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # ratchet:cashapp/activate-hermit@v1 | |
| - name: Init Python Virtual Environment | |
| run: | | |
| python -mvenv .venv | |
| . .venv/bin/activate | |
| echo PATH=$PATH >> $GITHUB_ENV | |
| - name: Generate Schema Docs | |
| run: just docs-schema | |
| - name: Setup mkdocs | |
| working-directory: ./docs | |
| run: pip install -r requirements.txt | |
| - name: Publish Site | |
| working-directory: ./docs | |
| run: mkdocs gh-deploy --force |