Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibbavisk20 authored Feb 28, 2024
1 parent 2cacd7c commit 085914a
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/actions/quickstart_template/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,43 +36,3 @@ runs:
tenant-id: ${{ inputs.tenant-id }}
subscription-id: ${{ inputs.subscription-id }}
enable-AzPSSession: false

- name: 'Az deploy - LAMP on VM Bitnami'
uses: azure/arm-deploy@v1
with:
subscriptionId: ${{ inputs.subscription-id }}
resourceGroupName: ${{ inputs.resource-group-name }}
template: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/lamp-app/azuredeploy.json
parameters: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/lamp-app/azuredeploy.parameters.json
authenticationType=password
mySqlPassword=${{ inputs.admin-password }}
storageAccountNamePrefix=lampappsa
dnsLabelPrefix=dnslabelvm
vmSize=Standard_D2as_v4
adminPasswordOrKey=${{inputs.admin-password}}
failOnStdErr: false
# - name: Fetch JSON file from remote repository
# shell: bash
# run: |
# json_url="https://raw.githubusercontent.com/vaibbavisk20/deploy_wordpress_vm_azure/main/vm_parameters.json"
# curl -sSLO $json_url

# - name: Print parameter value
# shell: bash
# run: |
# json_file="vm_parameters.json"
# # vm name
# virtual_machine_name=".parameters.virtualMachineName.value"
# result=$(jq -r "$virtual_machine_name" "$json_file")
# echo "Virtual Machine Properties"
# echo "Name: $result"

# # region
# location=".parameters.location.value"
# result=$(jq -r "$location" "$json_file")
# echo "Location: $result"

# # vm size
# virtual_machine_size=".parameters.virtualMachineSize.value"
# result=$(jq -r "$virtual_machine_size" "$json_file")
# echo "VM Size: $result"

0 comments on commit 085914a

Please sign in to comment.