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]>
Signed-off-by: eravatee <[email protected]>
  • Loading branch information
CaptainIRS authored and eravatee committed Oct 4, 2022
1 parent f62f75c commit 367880c
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,17 +2,21 @@ 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
coverage:
uses: ./.github/workflows/coverage.yml
needs: unit-tests
integration-tests:
if: ${{ github.base_ref == 'main' }}
uses: ./.github/workflows/integration-tests.yml
needs: unit-tests

0 comments on commit 367880c

Please sign in to comment.