Skip to content

Deleted Branch - SearchAPI Stack (non-prod) #52

Deleted Branch - SearchAPI Stack (non-prod)

Deleted Branch - SearchAPI Stack (non-prod) #52

name: Deleted Branch - SearchAPI Stack (non-prod)
on:
delete:
branches-ignore:
- prod
jobs:
delete-stack-non-prod-branch:
# If a branch specifically, was deleted.
if: github.event.ref_type == 'branch'
uses: ./.github/workflows/reusable-DeleteStack-SearchAPI.yml
with:
# Unique ID for each stack. (The branch you're on)
TAG: ${{ github.event.ref }}
environment: non-prod
# What secrets from the environment, the workflow should have access to:
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}