Skip to content

Commit

Permalink
feat(deploy): test deployment to kubernetes azure
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Oct 28, 2024
1 parent 02d8be9 commit 3f9e38e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ jobs:

- name: Terraform Init
env:
ARM_SUBSCRIPTION_ID: ${{ secrets.SUBSCRIPTION_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
run: terraform init
working-directory: deploy/terraform

- name: Terraform Apply
env:
TF_VAR_subscription_id: ${{ secrets.subscription_id }}
TF_VAR_subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
run: terraform apply -auto-approve
working-directory: deploy/terraform

- name: Setup kubectl
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.SUBSCRIPTION_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
run: |
az aks get-credentials --resource-group ""aks-resource-group" --name "aks-cluster"
Expand Down

0 comments on commit 3f9e38e

Please sign in to comment.