fix: docs creation workflow

This commit is contained in:
Eli Bosley
2025-02-11 15:26:17 -05:00
parent 75474bde47
commit 13b501a342

View File

@@ -5,6 +5,8 @@ on:
- main
paths:
- 'api/docs/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -27,7 +29,7 @@ jobs:
with:
repository: unraid/docs
path: docs-repo
token: ${{ github.token }}
token: ${{ secrets.DOCS_PAT_UNRAID_BOT }}
- name: Copy updated docs
run: |
@@ -41,7 +43,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ github.token }}
token: ${{ secrets.DOCS_PAT_UNRAID_BOT }}
path: docs-repo
commit-message: 'docs: update API documentation'
title: 'Update API Documentation'