diff --git a/.forgejo/workflows/typo3-deploy-stage.yaml b/.forgejo/workflows/typo3-deploy-stage.yaml index fbd3672..685aa38 100644 --- a/.forgejo/workflows/typo3-deploy-stage.yaml +++ b/.forgejo/workflows/typo3-deploy-stage.yaml @@ -185,8 +185,8 @@ jobs: deploy-production: name: Deploy Production runs-on: ubuntu-latest - needs: [test-stage] - if: ${{ always() && inputs.deploy_production && (needs.test-stage.result == 'success' || needs.test-stage.result == 'skipped') }} + needs: [switch-stage, test-stage] + if: ${{ always() && inputs.deploy_production && needs.switch-stage.result == 'success' && needs.test-stage.result != 'failure' }} steps: - name: Setup PHP