Skip to content

Commit 954eba5

Browse files
authored
Add workflow for gh-pages branch (#1423)
Signed-off-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com>
1 parent e476ba7 commit 954eba5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@ name: CI (PR)
22

33
on:
44
pull_request:
5-
branches: [ "main" ]
5+
branches:
6+
- "main"
7+
- "gh-pages"
68

79
jobs:
810
dci-lint:
911
uses: ./.github/workflows/dci.yml
1012
unit-tests:
13+
if: ${{ github.base_ref == 'main' }}
1114
uses: ./.github/workflows/unit-tests.yml
1215
needs: dci-lint
1316
integration-tests:
17+
if: ${{ github.base_ref == 'main' }}
1418
uses: ./.github/workflows/integration-tests.yml
1519
needs: unit-tests

0 commit comments

Comments
 (0)