From 49ddbdc6047158297170c6c3f2856d8c662e5907 Mon Sep 17 00:00:00 2001 From: yinxiaolong Date: Thu, 23 Jul 2026 18:44:25 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 14d1d43..384b190 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,11 +11,23 @@ jobs: HTTP_PROXY: http://10.255.0.1:7890 HTTPS_PROXY: http://10.255.0.1:7890 steps: - - name: Execute remote SSH commands using password - uses: appleboy/ssh-action@v1 + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + + - name: Setup Node + uses: actions/setup-node@v4 with: - host: ${{ secrets.HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - port: ${{ secrets.PORT }} - script: ls -la / \ No newline at end of file + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Build + run: pnpm run docs:build + + - name: Show build output + run: ls -la docs/.vuepress/dist \ No newline at end of file