From 6b54508ffb464a1c372407077c00f8e7bcb98963 Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@3a-systems.ru>
Date: Wed, 08 Sep 2021 15:59:33 +0000
Subject: [PATCH] Update deploy.yml

---
 .github/workflows/deploy.yml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 9a82f92..3034bf4 100644
--- a/.github/workflows/deploy.yml
+++ b/.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

--
Gitblit v1.10.0