From fb4912165a23c02d87efa5d4496f40dba10b4708 Mon Sep 17 00:00:00 2001 From: yinxiaolong Date: Thu, 23 Jul 2026 18:39:54 +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 | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 69ba059..14d1d43 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,31 +11,11 @@ jobs: HTTP_PROXY: http://10.255.0.1:7890 HTTPS_PROXY: http://10.255.0.1:7890 steps: - - name: Setup git proxy - run: | - git config --global http.proxy ${{ env.HTTP_PROXY }} - git config --global https.proxy ${{ env.HTTPS_PROXY }} - - - name: Checkout - uses: actions/checkout@v4 - env: - HTTP_PROXY: ${{ env.HTTP_PROXY }} - HTTPS_PROXY: ${{ env.HTTPS_PROXY }} - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - env: - HTTP_PROXY: ${{ env.HTTP_PROXY }} - HTTPS_PROXY: ${{ env.HTTPS_PROXY }} - - - name: Install dependencies - run: pnpm install - env: - HTTP_PROXY: ${{ env.HTTP_PROXY }} - HTTPS_PROXY: ${{ env.HTTPS_PROXY }} - - - name: Build - run: pnpm run docs:build - - - name: Show build output - run: ls -la docs/.vuepress/dist \ No newline at end of file + - name: Execute remote SSH commands using password + uses: appleboy/ssh-action@v1 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + script: ls -la / \ No newline at end of file