We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dccf95f commit f2bb05fCopy full SHA for f2bb05f
.github/workflows/deploy-to-control-plane-review.yml
@@ -6,6 +6,8 @@ name: Deploy Review App to Control Plane
6
on:
7
# Allows you to run this workflow manually from the Actions tab
8
workflow_dispatch:
9
+ issue_comment:
10
+ types: [created, edited]
11
12
# Convert the GitHub secret variables to environment variables for use by the Control Plane CLI
13
env:
@@ -14,6 +16,7 @@ env:
14
16
15
17
jobs:
18
deploy-to-control-plane-staging:
19
+ if: ${{ github.event_name != 'issue_comment' || (github.event.comment.body == '/deploy-review-app' && github.event.issue.pull_request) }}
20
runs-on: ubuntu-latest
21
22
steps:
0 commit comments