Skip to content

Commit

Permalink
[NOD-473] fix: resolved wrong variables refs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Sep 20, 2023
1 parent 4e4aa4b commit f12eadc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/04_self_hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:

- name: 'Azure CLI script: start staging slot'
uses: azure/CLI@v1
if: ${{ needs.setup.outputs.environment == 'prod' }}
if: ${{ (inputs.target == inputs.environment && inputs.target == 'prod') }}
with:
inlineScript: az functionapp start --name ${{ inputs.app_name }} --resource-group ${{ inputs.resource_group }} --slot staging

- name: 'Run Azure Functions Container Action: staging slot'
uses: Azure/functions-container-action@v1.2.1
if: ${{ needs.setup.outputs.environment == 'prod' }}
if: ${{ (inputs.target == inputs.environment && inputs.target == 'prod') }}
with:
app-name: ${{ inputs.app_name }}
image: ${{ inputs.registry_image }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
steps:
- name: 'Azure CLI script: end staging slot'
uses: azure/CLI@v1
if: ${{ needs.setup.outputs.environment == 'prod' }}
if: ${{ (inputs.target == inputs.environment && inputs.target == 'prod') }}
with:
inlineScript: |
az functionapp stop --name ${{ inputs.app_name }} --resource-group ${{ inputs.resource_group }} --slot staging

0 comments on commit f12eadc

Please sign in to comment.