chore: Add Microsoft secrets to Pulumiu infra (take 2) #2861
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/vultr-action@v2.0 | |
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 |