From d8319a6559b55018b6d795c15afbc5869b503be8 Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Tue, 12 Dec 2023 15:17:12 +0000 Subject: [PATCH] Display environment URL in github actions workflow --- .github/workflows/build-and-deploy.yml | 2 ++ .github/workflows/manual.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 05300fd58..6bdc50292 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -96,6 +96,7 @@ jobs: runs-on: ubuntu-latest environment: name: development_aks + url: ${{ steps.deploy.outputs.deploy-url }} steps: - name: Check out the repo uses: actions/checkout@v4 @@ -167,6 +168,7 @@ jobs: runs-on: ubuntu-latest environment: name: test_aks + url: ${{ steps.deploy.outputs.deploy-url }} steps: - name: Check out the repo uses: actions/checkout@v4 diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 30c34f849..edf47e847 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -16,7 +16,8 @@ jobs: name: Deploy to ${{github.event.inputs.environment}} runs-on: ubuntu-latest environment: - name: ${{github.event.inputs.environment}} + name: ${{github.event.inputs.environment}} + url: ${{ steps.deploy.outputs.deploy-url }} concurrency: ${{github.event.inputs.environment}} defaults: run: