Skip to content

Commit 6f4e43c

Browse files
colyerdengShawnDen-coder
authored andcommitted
fix: fix template github action
1 parent ce2b35f commit 6f4e43c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows/deploy_docs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ name: Deploy Docs
44
on:
55
release:
66
types: [published]
7-
branches: [main]
7+
branches:
8+
- main
9+
- master
810
workflow_dispatch: # 保留手动触发选项
911

1012
permissions:

repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows/release_build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: release-build
33
on:
44
release:
55
types: [published]
6-
branches: [main]
6+
branches:
7+
- main
8+
- master
79
workflow_dispatch:
810
inputs:
911
version:

0 commit comments

Comments
 (0)