Skip to content

Commit 1ca720a

Browse files
committed
Update action.yml
1 parent 8b30356 commit 1ca720a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/update-firewall-rule/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ runs:
1414
run: |
1515
AgentPublicIp=$(curl checkip.amazonaws.com)
1616
echo "##[warning]${{ inputs.action-to-execute }}ing $AgentPublicIp To Storage Account Firewall, Please Wait..."
17-
az network nsg rule update -n HTTPS_CI --nsg-name vmsonarqubeprod001-nsg -g rg-prgssonarqube-prod-001 --${{ inputs.action-to-execute }} --source-address-prefixes $AgentPublicIp
17+
az network nsg rule update -n HTTPS_CI --nsg-name vmsonarqubeprod001-nsg -g rg-prgssonarqube-prod-001 --${{ inputs.action-to-execute }} sourceAddressPrefixes $AgentPublicIp
1818
sleep 30
19-
19+
2020
# CANONICAL az network nsg rule update --name MyNsgRule --nsg-name MyNsg --resource-group MyResourceGroup --source-address-prefixes 208.130.28/24
2121

2222
# # was echo "##[warning]Adding $AgentPublicIp To Storage Account Firewall, Please Wait..."

0 commit comments

Comments
 (0)