From 5c902e0f653efac3ba2fd58822da17ead419cfe6 Mon Sep 17 00:00:00 2001 From: adk23333 <2633103794@qq.com> Date: Fri, 15 Dec 2023 19:43:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2gitea=20actions=20npm?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 109a49b..e1d5600 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -11,13 +11,15 @@ jobs: build-and-deploy: runs-on: node-21 steps: - - name: 获取仓库 + - name: 🎄获取仓库 uses: actions/checkout@v4 with: ref: 'main' - - name: npm安装依赖 + - name: 🖋️配置npm源 + run: npm config set registry https://registry.npmmirror.com + - name: ❄️npm安装依赖 run: npm install - - name: 🔧npm构建 + - name: 🌺npm构建 run: vite build - name: 💪部署 uses: JamesIves/github-pages-deploy-action@v4.5.0