Skip to content

Commit 22531b5

Browse files
committed
fixup! Filtering pr - building preview only on specific labels
1 parent 517bf96 commit 22531b5

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/preview.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ jobs:
2121

2222
steps:
2323

24-
- name: Find PR Preview Comment
25-
if: github.event_name == 'pull_request'
26-
uses: peter-evans/find-comment@v1
27-
id: deploy-preview-comment
28-
with:
29-
issue-number: ${{ github.event.pull_request.number }}
30-
comment-author: "github-actions[bot]"
31-
body-includes: "Preview this PR"
32-
33-
- name: Update Comment if exists
34-
if: github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0
35-
uses: peter-evans/[email protected]
36-
with:
37-
comment-id: ${{ steps.deploy-preview-comment.outputs.comment-id }}
38-
edit-mode: replace
39-
body: |
40-
## Preview Deployment
41-
Waiting for deployment to complete...
24+
- name: Find PR Preview Comment
25+
if: github.event_name == 'pull_request'
26+
uses: peter-evans/find-comment@v1
27+
id: deploy-preview-comment
28+
with:
29+
issue-number: ${{ github.event.pull_request.number }}
30+
comment-author: "github-actions[bot]"
31+
body-includes: "Preview this PR"
32+
33+
- name: Update Comment if exists
34+
if: github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0
35+
uses: peter-evans/[email protected]
36+
with:
37+
comment-id: ${{ steps.deploy-preview-comment.outputs.comment-id }}
38+
edit-mode: replace
39+
body: |
40+
## Preview Deployment
41+
Waiting for deployment to complete...
4242
4343
- uses: actions/checkout@v4
4444

0 commit comments

Comments
 (0)