Skip to content

Commit b369144

Browse files
committed
chore: workflow runs on prs and beta branch
1 parent dd7b29f commit b369144

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
on:
22
push:
3-
branches: ["main"]
3+
branches: ["main", "beta"]
4+
pull_request:
5+
branches: ["main", "beta"]
46

57
# Allows you to run this workflow manually from the Actions tab
68
workflow_dispatch:
@@ -43,6 +45,7 @@ jobs:
4345
npx semantic-release@24
4446
4547
pages:
48+
if: github.ref == 'refs/heads/main'
4649
needs: build
4750
runs-on: ubuntu-latest
4851
permissions:

0 commit comments

Comments
 (0)