ci: exclude zip file from gitea artifact

This commit is contained in:
鲁树人
2025-07-05 04:33:16 +09:00
parent 2598b977ab
commit 7c319fa4d9

View File

@ -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 }}