Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mater1996 authored Mar 18, 2024
1 parent 9985a42 commit 909aacf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: generate docs file
if: env.GIT_DIFF
run: |
pnpm run docs:build
pnpm run docs:prod
# 使用 https://github.com/appleboy/scp-action 进行部署,注意 strip_components 用于控制层级
- name: Deploy to self-host server
Expand All @@ -39,6 +39,6 @@ jobs:
username: ${{ secrets.DOCS_SERVER_USER }}
key: ${{ secrets.DOCS_SERVER_KEY }}
command_timeout: "20m"
source: "./docs-vuepress/.vuepress/dist/"
source: "./docs/.vuepress/dist/"
strip_components: 4
target: "${{ secrets.DOCS_SERVER_DIR }}"

0 comments on commit 909aacf

Please sign in to comment.