Skip to content

Commit 9aaa504

Browse files
committed
removed backlash in command and OUTPUT variable
1 parent f1f611e commit 9aaa504

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ jobs:
160160
elif [[ "$vm_state" == "PowerState/deallocated" ]]; then
161161
echo "Azure VM instance deallocated"
162162
echo "Starting Azure VM..."
163-
OUTPUT=$(az vm start --resource-group $AZURE_RESOURCE_GROUP \
164-
--name $AZURE_VM_INSTANCE)
163+
az vm start --resource-group $AZURE_RESOURCE_GROUP --name $AZURE_VM_INSTANCE
165164
if [ $? -ne 0 ]; then
166165
echo "✗ Failed to start Azure VM"
167166
echo "azure_status=failure" >> $GITHUB_ENV

0 commit comments

Comments
 (0)