Skip to content

docs: 优化 DLC 接入说明 #735

docs: 优化 DLC 接入说明

docs: 优化 DLC 接入说明 #735

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