Skip to content

Commit c90f175

Browse files
Use protectedSettings
1 parent 55ee09c commit c90f175

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure-self-hosted-runners/azure-arm-template.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,10 @@
261261
"typeHandlerVersion": "1.9",
262262
"autoUpgradeMinorVersion": true,
263263
"settings": {
264-
"fileUris": "[split(parameters('postDeploymentPsScriptUrl'), ' ')]",
265-
"commandToExecute": "[concat ('powershell -ExecutionPolicy Unrestricted -File ', variables('firstFileName'), ' ', variables('postDeploymentScriptArguments'))]"
264+
"fileUris": "[split(parameters('postDeploymentPsScriptUrl'), ' ')]"
265+
},
266+
"protectedSettings": {
267+
"commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ', variables('firstFileName'), ' ', variables('postDeploymentScriptArguments'))]"
266268
}
267269
}
268270
}

0 commit comments

Comments
 (0)