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