Skip to content

Commit

Permalink
Refactor output parameter handling in Azure Bicep workflow for improv…
Browse files Browse the repository at this point in the history
…ed readability
  • Loading branch information
Raj committed Jan 7, 2025
1 parent eb3030c commit 74e49c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/azuredeploy.bicep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
- name: Get Output Parameters
id: get-output-params
run: |
echo "STATIC_WEB_APP_NAME=$(echo '${{ steps.bicep.outputs }}' | jq -r '.staticSiteName')" >> $GITHUB_ENV
echo "AZURE_FUNCTIONAPP_NAME=$(echo '${{ steps.bicep.outputs }}' | jq -r '.functionAppName')" >> $GITHUB_ENV
echo "RESOURCE_GROUP_NAME=$(echo '${{ steps.bicep.outputs }}' | jq -r '.newResourceGroupName')" >> $GITHUB_ENV
echo "STATIC_WEB_APP_NAME=${{ steps.bicep.outputs.staticSiteName }}" >> $GITHUB_ENV
echo "AZURE_FUNCTIONAPP_NAME=${{ steps.bicep.outputs.functionAppName }}" >> $GITHUB_ENV
echo "RESOURCE_GROUP_NAME=${{ steps.bicep.outputs.newResourceGroupName }}" >> $GITHUB_ENV
# Deploy to Azure Functions
- name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment
Expand Down

0 comments on commit 74e49c8

Please sign in to comment.