Browse Source

Update and rename deploy-doc.yml to deploy-docs.yml

Yawei sun 1 year ago
parent
commit
fd5de8ecea
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .github/workflows/deploy-docs.yml

+ 4 - 3
.github/workflows/deploy-doc.yml → .github/workflows/deploy-docs.yml

@@ -36,7 +36,8 @@ jobs:
         working-directory: ./docs
 
       - name: Deploy to GitHub Pages
-        uses: peaceiris/actions-gh-pages@v3
+        id: deployment
+        uses: actions/deploy-pages@v4
         with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
-          publish_dir: ./docs/dist
+          branch: gh-pages
+          folder: ./docs/dist