mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
ci: exclude zip file from gitea artifact
This commit is contained in:
@@ -21,16 +21,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 -m zipfile -c um-react.zip dist/.
|
python3 -m zipfile -c um-react.zip dist/.
|
||||||
./scripts/make-win64.sh
|
./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
|
- name: Publish Artifact
|
||||||
uses: christopherhx/gitea-upload-artifact@v4
|
uses: christopherhx/gitea-upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: site
|
name: site
|
||||||
path: dist/
|
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
|
- name: Deploy
|
||||||
env:
|
env:
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
|
|||||||
Reference in New Issue
Block a user