Skip to content

Commit

Permalink
feat: auto publish when merging to alpha (#728)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: pre-major release on alpha
  • Loading branch information
huozhi committed Aug 4, 2021
1 parent e3a816c commit 0b28b97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- alpha
tags:
- '!*'
pull_request:
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
CI: true

- name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 0b28b97

Please sign in to comment.