From c9203a6e952c90f1fcdeca0f32126dbdb0579726 Mon Sep 17 00:00:00 2001 From: "praveen.kanniah@PP-C02FX9SXMD6M" Date: Sun, 16 Jun 2024 11:40:32 +0530 Subject: [PATCH] Reverting changes on workflow --- .github/workflows/dashboard-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dashboard-release.yml b/.github/workflows/dashboard-release.yml index 67007e3..98c6f54 100644 --- a/.github/workflows/dashboard-release.yml +++ b/.github/workflows/dashboard-release.yml @@ -1,8 +1,5 @@ name: Dashboard Latest Release on: - push: - branches: - - dashboard workflow_dispatch: inputs: releaseType: @@ -19,6 +16,7 @@ env: IMAGE_NAME: phonepe/mantis-dashboard jobs: build-and-push-image: + if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dashboard' runs-on: ubuntu-latest permissions: contents: write