Skip to content

added application parameter #48

added application parameter

added application parameter #48

Workflow file for this run

on: [push, workflow_dispatch]
name: Azure ARM
permissions:
id-token: write
contents: read
jobs:
build-and-deploy:
environment: Azure
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- uses: azure/arm-deploy@v1
with:
resourceGroupName: rg-application-dev-001
template: .github/workflows/main.bicep
- name: Remove deployed resources
uses: azure/arm-deploy@v1
with:
scope: subscription
deploymentName: ${{ github.run_number }}
region: southcentralus
template: demo.bicep
deploymentMode: Complete
parameters: delete=true
# on: [push, workflow_dispatch]
# name: Azure ARM
# jobs:
# call-workflow-in-another-repo:
# uses: chenette/workflow/.github/workflows/azure.yml@main
# with:
# environment: dev
# deploy_infrastructure: true