This commit is contained in:
parent
be5d9ca954
commit
cba97991f3
1 changed files with 2 additions and 2 deletions
|
|
@ -185,8 +185,8 @@ jobs:
|
||||||
deploy-production:
|
deploy-production:
|
||||||
name: Deploy Production
|
name: Deploy Production
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test-stage]
|
needs: [switch-stage, test-stage]
|
||||||
if: ${{ always() && inputs.deploy_production && (needs.test-stage.result == 'success' || needs.test-stage.result == 'skipped') }}
|
if: ${{ always() && inputs.deploy_production && needs.switch-stage.result == 'success' && needs.test-stage.result != 'failure' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue