Переглянути джерело

fix: update docs with PAT (#743)

Jacob Bolda 5 роки тому
батько
коміт
95d9e24580
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      .github/workflows/update-docs.yml

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

@@ -3,7 +3,7 @@ name: update-docs
 on:
   push:
     branches:
-      - master
+      - latest
     paths:
       - '**/package.json'
       - '.github/workflows/**'
@@ -43,7 +43,7 @@ jobs:
       - name: create pull request for updated docs
         uses: tauri-apps/create-pull-request@v2.8.0
         with:
-          token: ${{ secrets.GITHUB_TOKEN }}
+          token: ${{ secrets.TAURI_BOT_PAT }}
           commit-message: "chore(docs): Update Rust docs"
           branch: docs/release
           path: tauri-docs