馃 Sintesi: Automated Documentation Update (#34) #2
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: Sintesi - Documentation AI | |
| on: | |
| push: | |
| branches: [ main ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| sync-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Sintesi Check & Fix | |
| uses: doctypedev/action@v0 | |
| with: | |
| openai_api_key: ${{ secrets.OPENAI_API_KEY }} | |
| github_token: ${{ secrets.PAT_TOKEN }} | |
| targets: 'readme,docs' # Documentation targets to generate (comma-separated). Options: readme, docs | |
| docs_output: 'docs' # Optional: Directory for the output documentation - Default: docs |