mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-22 07:43:01 +00:00
Improve build step dependencies
This commit is contained in:
parent
6b08117d7d
commit
10daf97d81
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -217,7 +217,7 @@ jobs:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: ${{ github.ref_name == 'develop' || github.ref_name == 'main' }}
|
if: ${{ github.ref_name == 'develop' || github.ref_name == 'main' }}
|
||||||
needs: [backend, unit_test, unit_test_postgres, integration_test]
|
needs: [backend, frontend, unit_test, unit_test_postgres, integration_test]
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
uses: ./.github/workflows/deploy.yml
|
uses: ./.github/workflows/deploy.yml
|
||||||
with:
|
with:
|
||||||
|
@ -228,7 +228,7 @@ jobs:
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
name: Discord Notification
|
name: Discord Notification
|
||||||
needs: [backend, unit_test, unit_test_postgres, integration_test]
|
needs: [backend, frontend, unit_test, unit_test_postgres, integration_test, deploy]
|
||||||
if: ${{ !cancelled() && (github.ref_name == 'develop' || github.ref_name == 'main') }}
|
if: ${{ !cancelled() && (github.ref_name == 'develop' || github.ref_name == 'main') }}
|
||||||
env:
|
env:
|
||||||
STATUS: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
|
STATUS: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
|
||||||
|
|
Loading…
Reference in a new issue