From 86a623628cfb45dee2ffc9ed7a297dca7c81ef50 Mon Sep 17 00:00:00 2001 From: carolinebrasil <33175789+carolinebrasil@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:56:57 -0300 Subject: [PATCH] Update build-deploy-dev.yml --- .github/workflows/build-deploy-dev.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy-dev.yml b/.github/workflows/build-deploy-dev.yml index 0a7e6d97..7ecc0aa2 100644 --- a/.github/workflows/build-deploy-dev.yml +++ b/.github/workflows/build-deploy-dev.yml @@ -1,7 +1,7 @@ name: build-deploy-dev on: issue_comment: - types: [created, edited] + types: [created] push: branches: - main @@ -15,13 +15,17 @@ permissions: jobs: build-deploy-dev: - if: github.event_name == 'issue_comment' + if: github.event_name == 'issue_comment' && contains(github.event.comment.body, '/deploy-dev') runs-on: ubuntu-latest outputs: image: ${{ steps.build.outputs.image }} steps: + - name: Debug GitHub Event + run: | + echo "Event: ${{ toJson(github.event) }}" + - name: Checkout repository uses: actions/checkout@v4