From 5021be1eb81e8720e919a9a25657685428f8feeb Mon Sep 17 00:00:00 2001 From: Venkata Challa Date: Tue, 2 Jan 2024 10:40:49 +0000 Subject: [PATCH] wip --- .github/workflows/deploy_aks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_aks.yml b/.github/workflows/deploy_aks.yml index 1141b0060..3bb3378a9 100644 --- a/.github/workflows/deploy_aks.yml +++ b/.github/workflows/deploy_aks.yml @@ -53,6 +53,7 @@ jobs: - name: Prepare matrix environments review id: matrix-env-review + if: github.event_name == 'pull_request' run: echo "matrix-environment=review" >> $GITHUB_OUTPUT deploy: @@ -80,9 +81,9 @@ jobs: with: azure-credentials: ${{ secrets.AZURE_CREDENTIALS }} - - name: Terraform plan + - name: Terraform Apply run: | - make ${{ matrix.environment }} terraform-plan + make ${{ matrix.environment }} terraform-apply env: DOCKER_IMAGE_TAG: ${{ needs.build.outputs.docker-image-tag }} PR_NUMBER: ${{ github.event.pull_request.number }}