Skip to content

Production deploy #1876

Production deploy

Production deploy #1876

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