Skip to content

Commit

Permalink
ci: rework job dependencies [skip tests, build docs]
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Mar 14, 2024
1 parent b673f6e commit 7fef5c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

build_app:
name: Build app
if: ${{ always() && !cancelled() && !failure() && !contains(github.event.head_commit.message, 'skip app') }}
if: ${{ !contains(github.event.head_commit.message, 'skip app') }}
needs: [ run_tests ]
runs-on: ubuntu-22.04
steps:
Expand All @@ -76,8 +76,7 @@ jobs:

build_docs:
name: Build docs
if: ${{ always() && !cancelled() && !failure() && contains(github.event.head_commit.message, 'build doc') }}
needs: [ run_tests ]
if: ${{ contains(github.event.head_commit.message, 'build doc') }}
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand Down

0 comments on commit 7fef5c2

Please sign in to comment.