From f1b986d09fcbd0ee1babf264060471b51eb19a66 Mon Sep 17 00:00:00 2001 From: Julia March <101819212+juliamrch@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:59:56 +0100 Subject: [PATCH] comment: input dynamic domain --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index d8a5a29..0097b71 100644 --- a/action.yml +++ b/action.yml @@ -87,7 +87,7 @@ runs: with: script: | const issue_number = context.payload.pull_request.number; - const message = `Deployment has finished 👁️👄👁️ Your app is available [here](https://${{ github.event.pull_request.base.repo.name }}-PR-${{ github.event.number }}.cleverapps.io)`; + const message = `Deployment has finished 👁️👄👁️ Your app is available [here](https://${{ inputs.domain }})`; github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, @@ -101,7 +101,7 @@ runs: with: script: | const issue_number = context.payload.pull_request.number; - const message = `🚀 You updated your review app. Check it [here](https://${{ github.event.pull_request.base.repo.name }}-PR-${{ github.event.number }}.cleverapps.io)`; + const message = `🚀 You updated your review app. Check it [here](https://${{ inputs.domain }})`; github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo,