mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2025-07-07 06:52:07 +08:00
ci: exclude zip file from gitea artifact
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user