ci: workaround artifact bug
All checks were successful
Build and Deploy / build (push) Successful in 1m13s

see: https://github.com/go-gitea/gitea/pull/28965
This commit is contained in:
鲁树人 2024-12-15 21:30:12 +09:00
parent 3d45480fa0
commit de6fc4c2c0

View File

@ -23,7 +23,7 @@ jobs:
cp um-react.zip dist/"release-${GITHUB_SHA}.zip" cp um-react.zip dist/"release-${GITHUB_SHA}.zip"
python3 -m zipfile -c um-react-site.zip dist/. python3 -m zipfile -c um-react-site.zip dist/.
- name: Publish Artifact - name: Publish Artifact
uses: actions/upload-artifact@v4 uses: christopherhx/gitea-upload-artifact@v4
with: with:
name: site name: site
path: dist/ path: dist/
@ -31,5 +31,4 @@ jobs:
env: env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_API_KEY: ${{ secrets.NETLIFY_API_KEY }} NETLIFY_API_KEY: ${{ secrets.NETLIFY_API_KEY }}
run: | run: ./scripts/deploy.sh
./scripts/deploy.sh