Workflow to deploy a Wordpress VM on Azure - Quickstart template #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflow to deploy a Wordpress VM on Azure - Quickstart template | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
deploy-resources-to-azure: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v3 | |
- name: Deploy a Wordpress VM to Azure action | |
uses: ./.github/actions/quickstart_template | |
with: | |
admin-username: ${{secrets.ADMIN_USERNAME}} | |
admin-password: ${{secrets.ADMIN_PASSWORD}} | |
client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
resource-group-name: ${{secrets.AZURE_RG}} |