From de6fc4c2c072e66e123ea19ef3884c9e0529482a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sun, 15 Dec 2024 21:30:12 +0900 Subject: [PATCH] ci: workaround artifact bug see: https://github.com/go-gitea/gitea/pull/28965 --- .gitea/workflows/build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0e67d06..a3333fa 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -23,7 +23,7 @@ jobs: cp um-react.zip dist/"release-${GITHUB_SHA}.zip" python3 -m zipfile -c um-react-site.zip dist/. - name: Publish Artifact - uses: actions/upload-artifact@v4 + uses: christopherhx/gitea-upload-artifact@v4 with: name: site path: dist/ @@ -31,5 +31,4 @@ jobs: env: NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_API_KEY: ${{ secrets.NETLIFY_API_KEY }} - run: | - ./scripts/deploy.sh + run: ./scripts/deploy.sh