Skip to content

Commit

Permalink
Add description and value
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpepper committed Sep 21, 2023
1 parent d31990c commit e62a490
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit e62a490

Please sign in to comment.