Skip to content

docs: Add a description of the insufficient_scope returned by callso the OAuth Interface. #739

docs: Add a description of the insufficient_scope returned by callso the OAuth Interface.

docs: Add a description of the insufficient_scope returned by callso the OAuth Interface. #739

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