Skip to content

Production deploy #2871

Production deploy

Production deploy #2871

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 }}
os_type: alpine
plan: vc2-1c-1gb
pull_request_id: ${{ env.PULLREQUEST_ID }}
region: lhr
tag: pullrequest
- uses: marocchino/sticky-pull-request-comment@v2
with:
header: vultr
message: |
Removed vultr server and associated DNS entries