Skip to content

Commit 190d7dd

Browse files
committed
change ref of deployment
1 parent 86b6b68 commit 190d7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pull-request-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
route: POST /repos/:repository/deployments
5353
repository: ${{ github.repository }}
54-
ref: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.ref }}
54+
ref: "${{ github.event.pull_request.merge_commit_sha }}"
5555
environment: dev
5656
auto_merge: false
5757
required_contexts: "[]"

0 commit comments

Comments
 (0)