From 018ea15ac93d27f056e9a5a9382f4670e89a9f81 Mon Sep 17 00:00:00 2001 From: Automatic Update Date: Tue, 3 Dec 2024 12:29:10 +0100 Subject: [PATCH] Add logic --- .github/workflows/aksbootstrap.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/aksbootstrap.yaml b/.github/workflows/aksbootstrap.yaml index e2127efd6..5575da1a9 100644 --- a/.github/workflows/aksbootstrap.yaml +++ b/.github/workflows/aksbootstrap.yaml @@ -21,8 +21,8 @@ jobs: subscription: "s941" # - name: "platform" # subscription: "s940" - - name: "c2" - subscription: "s940" + # - name: "c2" + # subscription: "s940" environment: ${{matrix.target.name }} env: @@ -32,7 +32,6 @@ jobs: permissions: id-token: write contents: read - steps: - name: Checkout uses: actions/checkout@v4 #Clone Repo @@ -107,3 +106,7 @@ jobs: az keyvault network-rule remove --name "radix-keyv-${{ matrix.target.name }}" \ --resource-group "common-${{ matrix.target.name }}" \ --ip-address ${{ steps.github_public_ip.outputs.ipv4 }} >/dev/null + - name: Lets sleep for 30 seconds for FW rule to complete + if: ${{ github.ref == 'refs/heads/master' }} && ${{ inputs.terraformapply == 'true' }} + run: echo "It was from master with Terraform apply" +