Skip to content

Commit f1b986d

Browse files
committed
comment: input dynamic domain
1 parent eaf75d9 commit f1b986d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ runs:
8787
with:
8888
script: |
8989
const issue_number = context.payload.pull_request.number;
90-
const message = `Deployment has finished 👁️👄👁️ Your app is available [here](https://${{ github.event.pull_request.base.repo.name }}-PR-${{ github.event.number }}.cleverapps.io)`;
90+
const message = `Deployment has finished 👁️👄👁️ Your app is available [here](https://${{ inputs.domain }})`;
9191
github.rest.issues.createComment({
9292
owner: context.repo.owner,
9393
repo: context.repo.repo,
@@ -101,7 +101,7 @@ runs:
101101
with:
102102
script: |
103103
const issue_number = context.payload.pull_request.number;
104-
const message = `🚀 You updated your review app. Check it [here](https://${{ github.event.pull_request.base.repo.name }}-PR-${{ github.event.number }}.cleverapps.io)`;
104+
const message = `🚀 You updated your review app. Check it [here](https://${{ inputs.domain }})`;
105105
github.rest.issues.createComment({
106106
owner: context.repo.owner,
107107
repo: context.repo.repo,

0 commit comments

Comments
 (0)