Skip to content

Commit 0736de3

Browse files
committed
Change trigger to also include tags
1 parent 5c790fb commit 0736de3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/firebaseui-angular.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- 'master'
6+
tags:
7+
- 'v*'
68

79
concurrency:
810
group: "${{ github.ref }}"
@@ -24,6 +26,6 @@ jobs:
2426
- run: npm run build-lib
2527
- run: cd dist/firebaseui-angular-library
2628
- run: npm publish
27-
if: startsWith(github.ref, 'refs/tags/v')
29+
if: github.ref_type == 'tag'
2830
env:
2931
NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"

0 commit comments

Comments
 (0)