Skip to content

Commit

Permalink
add db refresh from paas to aks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed Sep 15, 2023
1 parent c9a13ec commit 3eca2d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/restore-paas-db-to-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 3eca2d4

Please sign in to comment.