From ca78c42e4fe95718e062fd1179d97d5126eef636 Mon Sep 17 00:00:00 2001 From: cloudy2331 Date: Wed, 23 Apr 2025 13:17:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=89=93=E5=8C=85=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/auto_build.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/auto_build.yaml b/.gitea/workflows/auto_build.yaml index 653a23b..40dfbad 100644 --- a/.gitea/workflows/auto_build.yaml +++ b/.gitea/workflows/auto_build.yaml @@ -1,5 +1,8 @@ name: 自动打包 -on: [push] +on: + push: + branches: + - main permissions: contents: write @@ -8,6 +11,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: http://139.224.201.203:3000/cloudy2333/checkout@v4 - - run: npm install - - run: npm run build \ No newline at end of file + - name: 签出仓库 + uses: http://139.224.201.203:3000/cloudy2333/checkout@v4 + - name: 安装依赖 + run: npm install + - name: 打包 + run: npm run build + - name: 上传 + uses: http://139.224.201.203:3000/cloudy2333/upload-artifact@v4 + with: + name: ProxySubscribeHub + path: dist/ \ No newline at end of file