mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: docs creation workflow
This commit is contained in:
6
.github/workflows/create-docusaurus-pr.yml
vendored
6
.github/workflows/create-docusaurus-pr.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user