removed contractor's contact and disclaimer + moved abbreviations and… #24
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
| name: Deploy Documentation | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - test | |
| - main | |
| jobs: | |
| deploy_docs: | |
| name: Build and Deploy Docs [${{ github.ref_name }}] | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mckeea/quarto-doc-builder:latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Generate intros and keywords | |
| uses: addnab/docker-run-action@v3 | |
| with: | |
| image: mckeea/llm-doc-annotator:latest | |
| options: -e GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }} -v ${{ github.workspace }}:/app | |
| run: python .github/scripts/generate_intros_and_keywords.py | |
| - name: Build Docs | |
| run: .github/scripts/build-docs.sh | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: _site | |
| target-folder: ${{ github.ref_name }} | |
| clean: true | |
| token: ${{ secrets.GITHUB_TOKEN }} |