Skip to content

Commit

Permalink
file to run on closed PR (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanKilleen authored Dec 4, 2023
1 parent 7d74c0a commit 273ac06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/closed-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
pull_request:
types: [ closed ]
jobs:
prune:
runs-on: ubuntu-latest
steps:
- name: delete environment
uses: bobheadxi/deployments@v1
with:
step: delete-env
token: ${{ secrets.GITHUB_TOKEN }}
env: preview_${{github.event.number}}
desc: Environment Deleted

0 comments on commit 273ac06

Please sign in to comment.