CI: 替换 Drone CI 为 Gitea 内建的 Actions #80
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user