From 014b05b3ed648e355e8cc3f461525b026319209b Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 11 Aug 2022 15:45:16 +0300 Subject: [PATCH] [#7] Add link to deployment details in GHA comment --- .github/workflows/reusable.yaml | 3 +++ action.yaml | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable.yaml b/.github/workflows/reusable.yaml index 337ef1d..9f75d9a 100644 --- a/.github/workflows/reusable.yaml +++ b/.github/workflows/reusable.yaml @@ -146,6 +146,9 @@ jobs: Uffizzi Preview deployed at URL: ${{ steps.create-preview.outputs.url }} + Uffizzi Preview deployment details at URI: + ${{ steps.create-preview.outputs.containers_uri }} + Uffizzi Preview ID: `${{ steps.create-preview.outputs.id }}` edit-mode: replace reactions: rocket diff --git a/action.yaml b/action.yaml index 78c0b58..387d656 100644 --- a/action.yaml +++ b/action.yaml @@ -26,13 +26,15 @@ inputs: description: 'Username to authenticate to GHCR' required: false ghcr-access-token: - descrption: 'Password to authenticate to GHCR' + description: 'Password to authenticate to GHCR' required: false outputs: url: description: 'URL where preview was deployed, if successful' id: - description: 'ID of prevew for later reference' + description: 'ID of preview for later reference' + containers_uri: + description: 'URI to the deployment details' runs: using: 'docker' image: 'docker://uffizzi/cli:v0.11.4'