mirror of
https://git.bjxgj.com/xgj/xgj-actions.git
synced 2025-10-14 11:23:37 +08:00
chore: 更新 Web 项目发布构建的 GitHub Action,移除不必要的输入参数,简化参数验证步骤,优化文档描述,增强环境变量支持,提升可读性和灵活性。
This commit is contained in:
@@ -65,9 +65,10 @@ jobs:
|
||||
id: release
|
||||
uses: actions/xgj/release-web@main
|
||||
with:
|
||||
gitea-token: ${{ secrets.GITEA_TOKEN }}
|
||||
app-env: ${{ matrix.app_env }}
|
||||
release-command: "npm run release -- --release -V --increment ${{ github.event.inputs.version_type }}"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
APP_ENV: ${{ matrix.app_env }}
|
||||
|
||||
- name: 部署应用
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user