-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
In our setup I need to add a custom path and some url parameters to the preview url. Something along the lines of this:
${{ steps.pullpreview.outputs.url }}/abc?redirectTo=def%2Fghi
With pullpreview@v5 I did that with an action-script:
await github.rest.repos.createDeploymentStatus({
owner: context.repo.owner,
repo: context.repo.repo,
deployment_id: deploymentId,
state: 'success',
environment_url: ${{ steps.pullpreview.outputs.url }}/abc?redirectTo=def%2Fghi,
description: 'Add init deeplink',
});Worked reasonably well.
Would you either consider to add a input parameter that allows to customize the Preview URL that gets pasted into the PR comment or do you have another idea how to realize this?
Reactions are currently unavailable