Skip to content

Update readme

Update readme #638

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