Skip to content

Commit

Permalink
Update build-deploy-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinebrasil authored Dec 7, 2024
1 parent 4a42bb4 commit 7c0d3e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c0d3e1

Please sign in to comment.