From 6c75a0619316f1c6159ceece32035ab62d4634e9 Mon Sep 17 00:00:00 2001 From: rrichley <94038906+rrichley@users.noreply.github.com> Date: Mon, 30 Dec 2024 09:23:08 +0000 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7d2c700..3f0e608 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Deploy Azure Resources +name: Deploy Azure Storage Account on: push: @@ -8,6 +8,7 @@ on: jobs: deploy: runs-on: ubuntu-latest + steps: - name: Checkout code uses: actions/checkout@v3 @@ -17,12 +18,16 @@ jobs: with: creds: ${{ secrets.AZURE_CREDENTIALS }} - - name: Deploy Bicep File + - name: Create Resource Group + run: | + az group create --name rrblobtest --location "UK West" + + - name: Deploy Storage Account run: | az deployment group create \ --resource-group rrblobtest \ - --template-file bicep/main.bicep \ - --parameters location="UK South" \ + --template-file bicep/storage-account.bicep \ + --parameters location="UK West" \ storageAccountName="test123434" \ containerName="images" \ allowedIP="92.16.42.251" \