Bump Documentation #48
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: Bump Documentation | |
| on: | |
| schedule: | |
| - cron: 0 20 * * * | |
| workflow_dispatch: | |
| jobs: | |
| bump-docs: | |
| if: github.repository == 'mudler/LocalAI' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - repository: "mudler/LocalAI" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Bump dependencies 🔧 | |
| env: | |
| # Authenticated API calls get 1000 req/hour instead of the 60/hour | |
| # anonymous cap that is shared across every job on the runner's IP. | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| bash .github/bump_docs.sh ${{ matrix.repository }} | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| token: ${{ secrets.UPDATE_BOT_TOKEN }} | |
| push-to-fork: ci-forks/LocalAI | |
| commit-message: ':arrow_up: Update docs version ${{ matrix.repository }}' | |
| title: 'docs: :arrow_up: update docs version ${{ matrix.repository }}' | |
| branch: "update/docs" | |
| body: Bump of ${{ matrix.repository }} version inside docs | |
| signoff: true | |