Skip to content

Commit 59d99dc

Browse files
authored
comment deployment URL
1 parent 1dadd50 commit 59d99dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,12 @@ jobs:
237237
comment-id: ${{ steps.fc.outputs.comment-id }}
238238
body: |
239239
:heavy_check_mark: Deployed PR ${{ env.PR_NUMBER }} successfully.
240-
:rocket: Access the deployment link [here](https://codercom.slack.com/archives/C05DNE982E8).
240+
:rocket: Access the deployment link [here](${{ env.PR_DEPLOYMENT_ACCESS_URL }}
241241
:warning: This deployment will be deleted when the PR is closed.
242242
reactions: rocket
243+
env:
244+
PR_DEPLOYMENT_ACCESS_URL: "https://pr${{ env.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"
245+
243246

244247
env:
245248
PR_DEPLOYMENT_ACCESS_URL: "https://pr${{ env.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"

0 commit comments

Comments
 (0)