#TIL 4 - Trigger github action base on the comment
# .github/workflows/comment.yml
on:
issue_comment:
types: [created, edited]
name: Deploy action
jobs:
web-image:
name: build and deploy web docker image to AWS ECR
runs-on: ubuntu-latest
if: github.event.comment.body == 'Build web'
steps:
...