Build and deploy ephemeral PR environments #5
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: Cleanup PR Environment (Ephemeral) | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
cleanup_dev: | |
name: Cleanup the PR from the development environment | |
uses: ./.github/workflows/cleanup_ephemeral.yml | |
secrets: inherit | |
with: | |
environment: 'dev' | |
release_name: '${{ github.event.repository.name }}-pr-${{ github.event.pull_request.number }}' | |
## Should probably also cleanup the PR docker image, but I can't figure out how currently |