Skip to content

docs: formatting

docs: formatting #654

name: Delete Preview Environment
on:
pull_request:
types: [closed]
jobs:
delete-preview-environment:
runs-on: ubuntu-latest
permissions:
deployments: write
steps:
- uses: strumwolf/delete-deployment-environment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: preview/${{ github.head_ref }}
onlyDeactivateDeployments: true