Skip to content

Commit

Permalink
update github action & semantic-release for channel distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
RingoTC committed Mar 4, 2024
1 parent 2241241 commit 678c989
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-main-channel-to-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
git-tag:
description: 'Branch/hash/tag'
required: true
push:
branches:
- 'feature/**'
env:
project-directory: ./

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-main-channel-to-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
git-tag:
description: 'Branch/hash/tag'
required: true
push:
branches:
- 'main'

env:
project-directory: ./
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-main-channel-to-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
git-tag:
description: 'Branch/hash/tag'
required: true
push:
branches:
- 'test/**'
env:
project-directory: ./

Expand Down
12 changes: 11 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,19 @@
"channel": "next"
},
{
"name": "demo",
"name": "feature/**",
"prerelease": true,
"channel": "alpha"
},
{
"name": "bugfix/**",
"prerelease": true,
"channel": "beta"
},
{
"name": "test/**",
"prerelease": true,
"channel": "beta"
}
],
"plugins": [
Expand Down

0 comments on commit 678c989

Please sign in to comment.