mirror of
https://git.bjxgj.com/xgj/xgj-actions.git
synced 2025-10-14 20:23:37 +08:00
chore: 更新 Web 项目发布构建的 GitHub Action,移除不必要的输入参数,简化参数验证步骤,优化文档描述,增强环境变量支持,提升可读性和灵活性。
This commit is contained in:
@@ -72,9 +72,9 @@ jobs:
|
||||
- name: 发布构建
|
||||
id: release
|
||||
uses: actions/xgj/release-web@main
|
||||
with:
|
||||
gitea-token: ${{ secrets.GITEA_TOKEN }}
|
||||
app-env: ${{ github.ref == 'refs/heads/main' && 'production' || 'develop' }}
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
APP_ENV: ${{ github.ref == 'refs/heads/main' && 'production' || 'develop' }}
|
||||
|
||||
- name: 通知发布结果
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user