CI: 替换 Drone CI 为 Gitea 内建的 Actions #80

Merged
lsr merged 3 commits from ci/gitea-runner into main 2024-12-15 12:37:41 +00:00
Showing only changes of commit de6fc4c2c0 - Show all commits

View File

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