Skip to content

Clean GitHub Preview environments on close #1

Clean GitHub Preview environments on close

Clean GitHub Preview environments on close #1

Workflow file for this run

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