From 190d7dd67818ba19c5e5228a41de603c89cf4384 Mon Sep 17 00:00:00 2001 From: alifeee Date: Mon, 26 Aug 2024 22:28:16 +0100 Subject: [PATCH] change ref of deployment --- .github/workflows/pull-request-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-preview.yml b/.github/workflows/pull-request-preview.yml index ebe6cf5..591d4e4 100644 --- a/.github/workflows/pull-request-preview.yml +++ b/.github/workflows/pull-request-preview.yml @@ -51,7 +51,7 @@ jobs: with: route: POST /repos/:repository/deployments repository: ${{ github.repository }} - ref: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.ref }} + ref: "${{ github.event.pull_request.merge_commit_sha }}" environment: dev auto_merge: false required_contexts: "[]"