Skip to content

Commit

Permalink
chore: change aks_cn deploy path (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook authored Mar 12, 2024
1 parent c2604c0 commit fd36336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/terraform-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ jobs:
DEPLOY_PATH="./aws/eks-default-vpc"
elif [[ "${{ inputs.cloud-provider }}" == "gke" ]]; then
DEPLOY_PATH="./gcp/gke-cicd"
elif [[ "${{ inputs.cloud-provider }}" == "aks" || "${{ inputs.cloud-provider }}" == "aks-cn" ]]; then
elif [[ "${{ inputs.cloud-provider }}" == "aks" ]]; then
DEPLOY_PATH="./azure/aks-cicd"
elif [[ "${{ inputs.cloud-provider }}" == "aks-cn" ]]; then
DEPLOY_PATH="./azure/aks-cn-cicd"
fi
echo "deploy-path:"$DEPLOY_PATH
echo deploy-path=${DEPLOY_PATH} >> $GITHUB_OUTPUT
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/terraform-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ jobs:
DEPLOY_PATH="./aws/eks-default-vpc"
elif [[ "${{ inputs.cloud-provider }}" == "gke" ]]; then
DEPLOY_PATH="./gcp/gke-cicd"
elif [[ "${{ inputs.cloud-provider }}" == "aks" || "${{ inputs.cloud-provider }}" == "aks-cn" ]]; then
elif [[ "${{ inputs.cloud-provider }}" == "aks" ]]; then
DEPLOY_PATH="./azure/aks-cicd"
elif [[ "${{ inputs.cloud-provider }}" == "aks-cn" ]]; then
DEPLOY_PATH="./azure/aks-cn-cicd"
fi
echo "deploy-path:"$DEPLOY_PATH
echo deploy-path=${DEPLOY_PATH} >> $GITHUB_OUTPUT
Expand Down

0 comments on commit fd36336

Please sign in to comment.