Skip to content

Build and deploy ephemeral PR environments #2

Build and deploy ephemeral PR environments

Build and deploy ephemeral PR environments #2

Workflow file for this run

name: Cleanup PR Environment (Ephemeral)
on:
pull_request:
types:
- closed
jobs:
cleanup_dev:

Check failure on line 8 in .github/workflows/cleanup_pr.yml

View workflow run for this annotation

GitHub Actions / Cleanup PR Environment (Ephemeral)

Invalid workflow file

The workflow is not valid. .github/workflows/cleanup_pr.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
name: Cleanup the PR from the development environment
needs:
- build
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