From c65e3e29ee6edd4d448e8745ba526555e06b59b0 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Mon, 18 Dec 2023 10:59:21 +0100 Subject: [PATCH] Fix link to preview branch When appending the message to the pull request after deploying the preview, the link to the branch is wrong as it uses the wrong repo. Instead of deployrepo the repo of the pull request is used. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a7657bc..8a69315 100644 --- a/action.yml +++ b/action.yml @@ -153,7 +153,7 @@ runs: https://${{ env.pagesurl }}/${{ env.targetdir }}/ on branch [`${{ inputs.preview-branch }}`](\ - ${{ github.server_url }}/${{ github.repository }}\ + ${{ github.server_url }}/${{ env.deployrepo }}\ /tree/${{ inputs.preview-branch }}) at ${{ env.datetime }} "