Examples of GitHub Actions Workflows for various use cases
Workflow: deploy-on-comment.yml
Event: issue_comment
Run the workflow when a specific comment is made on a pull request. The workflow will only run if the comment contains the string /deploy
.
See this PR for an example.