From 215a898212d89b34d4361cbb25ce2baeb01671db Mon Sep 17 00:00:00 2001 From: sparshg <43041139+sparshg@users.noreply.github.com> Date: Tue, 24 Sep 2024 02:48:46 +0530 Subject: [PATCH] cd --- .github/workflows/cd.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 805543c..d5b8c94 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,15 +1,13 @@ name: Deploy on: - workflow_run: - workflows: ["Check"] - types: - - completed + push: + tags: + - v** workflow_dispatch: jobs: docker: - if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags/v')) }} runs-on: ubuntu-latest environment: battleship steps: