From fdeb4121fda1a81da2e5bb4bbb6809f90e374070 Mon Sep 17 00:00:00 2001 From: Sion F Date: Sun, 20 Jun 2021 05:08:29 -0600 Subject: [PATCH] Update challenge_04.md Minor syntax correction on azure login step Arm deploy step was referring to an invalid file location --- challenges/challenge_04.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/challenges/challenge_04.md b/challenges/challenge_04.md index dcfd211..4aaa5f8 100644 --- a/challenges/challenge_04.md +++ b/challenges/challenge_04.md @@ -105,8 +105,8 @@ jobs: steps: - name: "Login via Azure CLI" uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} ``` To see if the workflow is authenticated and uses the right subscription, we @@ -222,8 +222,7 @@ action to deploy the ARM template: - uses: azure/arm-deploy@v1 with: resourceGroupName: ${{ env.ResourceGroupName }} - subscription: ${{ secrets.AZURE_SUBSCRIPTION }} - template: './challenges/challenge_03/storage.json' + template: './challenges/templates/challenge_03/storage.json' parameters: storageAccountName=${{ env.StorageAccountName }} ``` @@ -263,7 +262,7 @@ jobs: - uses: azure/arm-deploy@v1 with: resourceGroupName: ${{ env.ResourceGroupName }} - template: './challenges/challenge_03/storage.json' + template: './challenges/templates/challenge_03/storage.json' parameters: storageAccountName=${{ env.StorageAccountName }} ```