Skip to content

Commit

Permalink
Add a workflow to delete a VM (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid authored Nov 12, 2024
1 parent 9702e2b commit a457a9c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/delete-vm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Delete Virtual Machine
on: [workflow_dispatch]
inputs:
virtual-machine:
description: 'Virtual machine name'
required: true
default: ''
runner-group-label:
description: 'Runner group label'
required: true
default: ''
jobs:
delete-vm:
runs-on: ${{ github.event.inputs.runner-group-label }}
steps:
- name: Delete VM
run: |
tart delete ${{ github.event.inputs.virtual-machine }}

0 comments on commit a457a9c

Please sign in to comment.