mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
fix: use correct action path in update-docs workflow (#1537)
This commit is contained in:
parent
9d6df1881a
commit
77bde68327
@ -83,7 +83,7 @@ jobs:
|
||||
linksRoot: /docs/api/rust/
|
||||
cratesToProcess: "tauri,tauri_utils"
|
||||
- name: run typedocusaurus
|
||||
uses: tauri-apps/typedocusaurus/github-action@v1
|
||||
uses: tauri-apps/typedocusaurus@v1
|
||||
with:
|
||||
originPath: ./tauri/tooling/api/
|
||||
sidebarFile: sidebars.json
|
||||
|
10
.github/workflows/update-docs.yml
vendored
10
.github/workflows/update-docs.yml
vendored
@ -8,13 +8,13 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
gitName:
|
||||
description: 'git name for PR'
|
||||
description: "git name for PR"
|
||||
required: false
|
||||
default: 'tauri-bot'
|
||||
default: "tauri-bot"
|
||||
gitEmail:
|
||||
description: 'git email for PR'
|
||||
description: "git email for PR"
|
||||
required: false
|
||||
default: 'tauri-bot@tauri.studio'
|
||||
default: "tauri-bot@tauri.studio"
|
||||
|
||||
jobs:
|
||||
update-docs:
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
working-directory: ./tauri/core/tauri
|
||||
run: cargo doc --no-deps
|
||||
- name: run rustdocusaurus
|
||||
uses: tauri-apps/rustdocusaurus/github-action@v1
|
||||
uses: tauri-apps/typedocusaurus@v1
|
||||
with:
|
||||
originPath: ./tauri/target/doc/
|
||||
targetPath: ./tauri-docs/docs/en/api/rust/
|
||||
|
Loading…
Reference in New Issue
Block a user