docs: Update README and GitHub Actions workflow to support manual deployment triggers

This commit is contained in:
beilunyang
2024-12-23 21:13:59 +08:00
parent 8a2fbeef48
commit 86fc72d6bb
2 changed files with 4 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
deploy:

View File

@@ -156,7 +156,9 @@ pnpm deploy:cleanup
### Github Actions 部署
本项目可使用 GitHub Actions 实现自动化部署。当推送新的 tag 时会触发部署流程。
本项目可使用 GitHub Actions 实现自动化部署。支持以下触发方式:
- 在 GitHub Actions 页面手动触发部署流程
- 推送新的 tag 时触发部署流程
1. 在 GitHub 仓库设置中添加以下 Secrets