From afcb2cf92c5c72ec52458986ff862f3a9df40541 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 16 Jun 2025 10:34:39 +0530 Subject: Update workflows: deploy runs after build completes --- .github/workflows/deploy.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2c2abd3..eaf5099 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,10 +2,14 @@ name: Deploy on: workflow_run: - workflows: ["Build"] + workflows: + - "Build" + - "build.yml" types: - completed - branches: [main] + branches: + - main + workflow_dispatch: jobs: build_and_deploy: @@ -18,6 +22,13 @@ jobs: APP_TOKEN: ${{ secrets.APP_TOKEN }} steps: + - name: Debug workflow run info + run: | + echo "Workflow run conclusion: ${{ github.event.workflow_run.conclusion }}" + echo "Workflow run status: ${{ github.event.workflow_run.status }}" + echo "Workflow run name: ${{ github.event.workflow_run.name }}" + echo "Branch: ${{ github.event.workflow_run.head_branch }}" + - name: Check out repository uses: actions/checkout@v4 -- cgit v1.2.3