Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rrichley authored Dec 30, 2024
1 parent a9601aa commit 6c75a06
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Azure Resources
name: Deploy Azure Storage Account

on:
push:
Expand All @@ -8,6 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -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" \
Expand Down

0 comments on commit 6c75a06

Please sign in to comment.