From 7c319fa4d91e6e3011beaed800de4cfb294a50ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 5 Jul 2025 04:33:16 +0900 Subject: [PATCH] ci: exclude zip file from gitea artifact --- .gitea/workflows/build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5c821ad..807491b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -21,16 +21,16 @@ jobs: run: | python3 -m zipfile -c um-react.zip dist/. ./scripts/make-win64.sh - - name: Prepare for deployment - run: | - cp um-react.zip dist/"release-${GITHUB_SHA}.zip" - cp win64/dist/*.zip dist/"release-${GITHUB_SHA}-win64.zip" - python3 -m zipfile -c um-react-site.zip dist/. - name: Publish Artifact uses: christopherhx/gitea-upload-artifact@v4 with: name: site path: dist/ + - name: Prepare for deployment + run: | + cp um-react.zip dist/"release-${GITHUB_SHA}.zip" + cp win64/dist/*.zip dist/"release-${GITHUB_SHA}-win64.zip" + python3 -m zipfile -c um-react-site.zip dist/. - name: Deploy env: NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}