Skip to content

destroy-command

destroy-command #2

name: destroy-command
on:
repository_dispatch:
types: [destroy-command]
jobs:
destroy:
uses: ./.github/workflows/terraform.yml
with:
command: ${{ github.event.client_payload.slash_command.command }}
branch: ${{ github.event.client_payload.pull_request.head.ref }}
sha: ${{ github.event.client_payload.pull_request.head.sha }}
workspace: "spectrum-${{ github.event.client_payload.pull_request.head.ref }}"
secrets:
PAT: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}