Skip to content

Commit

Permalink
destroy the test app name environment
Browse files Browse the repository at this point in the history
  • Loading branch information
vrsorheim committed Jul 22, 2024
1 parent 1d192ed commit ae67219
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/destroy_infra.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Destroy Infrastructure Terraform

on:
push:
branches:
- terraform-modules
paths:
- '.github/workflows/destroy_infra.yaml'

workflow_dispatch:
inputs:
workspace:
Expand Down Expand Up @@ -59,7 +65,7 @@ jobs:
- name: Select or create workspace
id: select-or-create
run: terraform workspace select -or-create ${{ github.event.inputs.workspace }}
run: terraform workspace select -or-create ${{ github.event.inputs.workspace || 'dev' }}

- name: Destroy infra
id: destroy
Expand Down

0 comments on commit ae67219

Please sign in to comment.