feat: Allow platformAdmin
role to delete flows
#1487
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pizza Teardown | |
on: | |
pull_request: | |
types: [closed] | |
env: | |
DOMAIN: planx.pizza | |
PULLREQUEST_ID: ${{ github.event.number }} | |
jobs: | |
teardown_pizza: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Remove vultr resources | |
uses: theopensystemslab/[email protected] | |
with: | |
action: destroy | |
api_key: ${{ secrets.VULTR_API_KEY }} | |
domain: ${{ env.DOMAIN }} | |
pullrequest_id: ${{ env.PULLREQUEST_ID }} | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: vultr | |
message: | | |
Removed vultr server and associated DNS entries |