Skip to content

Commit

Permalink
testing deleting a resource group
Browse files Browse the repository at this point in the history
  • Loading branch information
ldraney committed Dec 23, 2024
1 parent badbabc commit 284babd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/delete-resource-group.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Delete Azure Resource Group

on:
workflow_dispatch:
inputs:
resource_group_name:
description: "Name of the resource group to delete"
required: true
type: string

jobs:
delete-resource-group:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Delete Resource Group
run: |
az group delete --name ${{ github.event.inputs.resource_group_name }} --yes --no-wait
File renamed without changes.
Empty file.

0 comments on commit 284babd

Please sign in to comment.