From 09444f7b70ab8025f65c0ab64fe413be438b843f Mon Sep 17 00:00:00 2001 From: yinxiaolong Date: Thu, 23 Jul 2026 18:36:56 +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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 838c65b..69ba059 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,6 @@ name: Deploy Blog on: push: branches: [main] - workflow_dispatch: jobs: build: @@ -19,12 +18,21 @@ jobs: - 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