Skip to content

Commit c3919f7

Browse files
authored
ci: fix cicd target branch name and fix release workflow (#439)
## what - Fix: correct the name of the target branch for the develop deployment cicd - Fix: return the release workflow trigger for pushes to develop and main branches
2 parents ad5d5e5 + abceb02 commit c3919f7

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77
on:
88
push:
99
branches:
10-
- dev
10+
- develop
1111

1212
jobs:
1313
define-environment:

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release Workflow
2+
3+
permissions:
4+
id-token: write
5+
contents: read
6+
7+
on:
8+
push:
9+
branches:
10+
- develop
11+
- main
12+
13+
jobs:
14+
release:
15+
runs-on: ubuntu-latest
16+
concurrency: release
17+
permissions:
18+
id-token: write
19+
contents: write
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Python Semantic Release
26+
uses: python-semantic-release/python-semantic-release@master
27+
with:
28+
changelog: "false"
29+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)