Browse Source

fix: use correct action path in update-docs workflow (#1537)

Amr Bashir 4 years ago
parent
commit
77bde68327

+ 1 - 1
.github/workflows/covector-version-or-publish.yml

@@ -83,7 +83,7 @@ jobs:
           linksRoot: /docs/api/rust/
           linksRoot: /docs/api/rust/
           cratesToProcess: "tauri,tauri_utils"
           cratesToProcess: "tauri,tauri_utils"
       - name: run typedocusaurus
       - name: run typedocusaurus
-        uses: tauri-apps/typedocusaurus/github-action@v1
+        uses: tauri-apps/typedocusaurus@v1
         with:
         with:
           originPath: ./tauri/tooling/api/
           originPath: ./tauri/tooling/api/
           sidebarFile: sidebars.json
           sidebarFile: sidebars.json

+ 5 - 5
.github/workflows/update-docs.yml

@@ -8,13 +8,13 @@ on:
   workflow_dispatch:
   workflow_dispatch:
     inputs:
     inputs:
       gitName:
       gitName:
-        description: 'git name for PR'
+        description: "git name for PR"
         required: false
         required: false
-        default: 'tauri-bot'
+        default: "tauri-bot"
       gitEmail:
       gitEmail:
-        description: 'git email for PR'
+        description: "git email for PR"
         required: false
         required: false
-        default: 'tauri-bot@tauri.studio'
+        default: "tauri-bot@tauri.studio"
 
 
 jobs:
 jobs:
   update-docs:
   update-docs:
@@ -37,7 +37,7 @@ jobs:
         working-directory: ./tauri/core/tauri
         working-directory: ./tauri/core/tauri
         run: cargo doc --no-deps
         run: cargo doc --no-deps
       - name: run rustdocusaurus
       - name: run rustdocusaurus
-        uses: tauri-apps/rustdocusaurus/github-action@v1
+        uses: tauri-apps/typedocusaurus@v1
         with:
         with:
           originPath: ./tauri/target/doc/
           originPath: ./tauri/target/doc/
           targetPath: ./tauri-docs/docs/en/api/rust/
           targetPath: ./tauri-docs/docs/en/api/rust/