Skip to content

Commit

Permalink
Add workflow for gh-pages branch (hyperledger-caliper#1423)
Browse files Browse the repository at this point in the history
Signed-off-by: CaptainIRS <[email protected]>
  • Loading branch information
CaptainIRS authored Aug 1, 2022
1 parent e476ba7 commit 954eba5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: CI (PR)

on:
pull_request:
branches: [ "main" ]
branches:
- "main"
- "gh-pages"

jobs:
dci-lint:
uses: ./.github/workflows/dci.yml
unit-tests:
if: ${{ github.base_ref == 'main' }}
uses: ./.github/workflows/unit-tests.yml
needs: dci-lint
integration-tests:
if: ${{ github.base_ref == 'main' }}
uses: ./.github/workflows/integration-tests.yml
needs: unit-tests

0 comments on commit 954eba5

Please sign in to comment.