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"