From e62a490d3ff90077c9a6b152863477ae528a217a Mon Sep 17 00:00:00 2001 From: Kim Pepper Date: Thu, 21 Sep 2023 17:16:09 +1000 Subject: [PATCH] Add description and value --- .github/workflows/deploy.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0c9d597..9a69560 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,8 +27,12 @@ on: skpr_password: required: true outputs: - version: ${{ jobs.deploy.outputs.version }} - url: ${{ jobs.deploy.outputs.url }} + version: + description: The version deployed + value: ${{ jobs.deploy.outputs.version }} + url: + description: The URL of the environment + value: ${{ jobs.deploy.outputs.url }} env: SKPR_USERNAME: ${{ secrets.SKPR_USERNAME }} @@ -42,6 +46,9 @@ jobs: name: ${{ inputs.env }} url: ${{ steps.skpr-info.outputs.url }} concurrency: ${{ inputs.env }} + outputs: + version: ${{ steps.version.outputs.version }} + url: ${{ steps.skpr-info.outputs.url }} steps: - name: ⬇️ Checkout Code uses: actions/checkout@v4 @@ -80,6 +87,4 @@ jobs: run: skpr deploy ${{ inputs.env }} ${{ steps.version.outputs.version }} - name: 🧹 Post-deploy run: skpr exec ${{ inputs.env }} ${{ inputs.post_deploy }} - outputs: - version: ${{ steps.version.outputs.version }} - url: ${{ steps.skpr-info.outputs.url }} +