.github/workflows/deploy.yml
@@ -5,11 +5,10 @@ branches: [ master ] workflows: ["Build Maven"] types: [completed] workflow_dispatch: jobs: deploy: name: Maven deploy if: ${{ github.event.workflow_run.conclusion.event=='push' && (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == '') }} if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event=='push' }} runs-on: 'ubuntu-latest' steps: - name: Print github context