Pizza Teardown (Manual) #42
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 (Manual) | |
on: | |
workflow_dispatch: | |
inputs: | |
pull_request_id: | |
required: true | |
type: integer | |
description: Pull Request number which should have its pizza destroyed | |
env: | |
DOMAIN: planx.pizza | |
jobs: | |
teardown_pizza: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Remove vultr resources | |
uses: theopensystemslab/vultr-action@v1.15 | |
with: | |
action: destroy | |
api_key: ${{ secrets.VULTR_API_KEY }} | |
domain: ${{ env.DOMAIN }} | |
pullrequest_id: ${{ github.event.inputs.pull_request_id }} |