We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f611e commit 9aaa504Copy full SHA for 9aaa504
.github/workflows/main.yaml
@@ -160,8 +160,7 @@ jobs:
160
elif [[ "$vm_state" == "PowerState/deallocated" ]]; then
161
echo "Azure VM instance deallocated"
162
echo "Starting Azure VM..."
163
- OUTPUT=$(az vm start --resource-group $AZURE_RESOURCE_GROUP \
164
- --name $AZURE_VM_INSTANCE)
+ az vm start --resource-group $AZURE_RESOURCE_GROUP --name $AZURE_VM_INSTANCE
165
if [ $? -ne 0 ]; then
166
echo "✗ Failed to start Azure VM"
167
echo "azure_status=failure" >> $GITHUB_ENV
0 commit comments