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

自动构建相关。

Reviewed-on: https://git.unlock-music.dev/um/um-react/pulls/80
Co-authored-by: 鲁树人 <lu.shuren@um-react.app>
Co-committed-by: 鲁树人 <lu.shuren@um-react.app>
This commit is contained in:
鲁树人
2024-12-15 12:37:40 +00:00
committed by 鲁树人
parent ec4bd16b03
commit ce969af57f
6 changed files with 41 additions and 40 deletions

View File

@@ -103,7 +103,7 @@ deploy_netlify() {
# For deployment, we care a bit less
if [[ -n "${NETLIFY_API_KEY}" && -n "${NETLIFY_SITE_ID}" ]]; then
echo "Deploy to netlify..."
echo "Deploy to netlify (branch: ${BRANCH_NAME})..."
deploy_netlify um-react-site.zip
else
echo "skip netlify deployment."