mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-05-19 23:30:47 +08:00
feat: update workflows for docker and release processes
- Updated `.github/workflows/docker-publish.yml`: - Commented out the branch trigger for `main` in the `push` event to allow only tag-based Docker builds (tags like `v*.*.*`). - Updated `.github/workflows/release.yml`: - Removed default release body template containing placeholder release notes. This simplifies the release creation process and avoids predefined content. - No functional changes to release asset upload configurations, minor format adjustment to ensure no missing newline at the file end.
This commit is contained in:
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@@ -2,7 +2,7 @@ name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
# branches: [ "main" ]
|
||||
tags: [ 'v*.*.*' ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -24,10 +24,6 @@ jobs:
|
||||
with:
|
||||
tag_name: ${{ github.ref_name }}
|
||||
release_name: ${{ github.ref_name }}
|
||||
body: |
|
||||
## Release Notes
|
||||
- 自动发布版本。
|
||||
- 请根据需求更新对应内容。
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
@@ -45,4 +41,4 @@ jobs:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./gemini-balance.zip # 替换为你的构建文件路径
|
||||
asset_name: gemini-balance.zip # 替换为你的文件名
|
||||
asset_content_type: application/zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
Reference in New Issue
Block a user