Skip to content

Commit

Permalink
ci: set up beta releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Pkmmte committed Dec 16, 2022
1 parent 00b2f67 commit 6fc4c6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
- master
- beta

jobs:
ci:
Expand Down Expand Up @@ -35,7 +34,7 @@ jobs:
- name: Build
run: yarn build
- name: Release
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next')
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta')
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
release: {
branches: ['main', 'master', 'beta']
},
repositoryUrl: 'https://github.com/Wave-Play/stashy'
};

0 comments on commit 6fc4c6d

Please sign in to comment.