From 3eca2d4f2c07ded2c07545cbabde1b580f1ee65f Mon Sep 17 00:00:00 2001 From: John Ake Date: Fri, 15 Sep 2023 16:38:03 +0100 Subject: [PATCH] add db refresh from paas to aks --- .github/workflows/restore-paas-db-to-aks.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/restore-paas-db-to-aks.yml b/.github/workflows/restore-paas-db-to-aks.yml index 892eeb6a..c0440215 100644 --- a/.github/workflows/restore-paas-db-to-aks.yml +++ b/.github/workflows/restore-paas-db-to-aks.yml @@ -18,7 +18,7 @@ jobs: environment: ${{ inputs.environment }} outputs: - ENVIRONMENT_AKS: ${{ env.ENVIRONMENT_AKS }} + ENVIRONMENT_AKS: ${{ steps.aks-env-name.outputs.ENVIRONMENT_AKS }} steps: - uses: actions/checkout@v4 @@ -67,10 +67,12 @@ jobs: path: backup.sql.gz retention-days: 1 - - run: | + - name: Set AKS environment name + id: aks-env-name + run: | case "${ENVIRONMENT_NAME}" in dev) - echo "ENVIRONMENT_AKS=development_aks" >> $GITHUB_ENV + echo "ENVIRONMENT_AKS=development_aks" >> $GITHUB_OUTPUT ;; *) echo "unknown cluster"