Skip to content

Commit e378fe0

Browse files
committed
fix(ci): enable GitHub Actions for alpha and develop branches
- Add alpha branch to workflow triggers - Update semantic-release job condition to run on main, alpha, and develop branches - Enable automated alpha and beta prerelease creation
1 parent 7c71059 commit e378fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI/CD Pipeline
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [ main, develop, alpha ]
66
pull_request:
77
branches: [ main ]
88

@@ -98,7 +98,7 @@ jobs:
9898
name: Semantic Release
9999
runs-on: ubuntu-latest
100100
needs: [test, docker-test]
101-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
101+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/develop')
102102
outputs:
103103
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
104104
new-release-version: ${{ steps.semantic.outputs.new-release-version }}

0 commit comments

Comments
 (0)