Skip to content

Commit

Permalink
refactor the workflow a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Oct 15, 2024
1 parent b92ca90 commit baef14b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ jobs:
push: ${{ inputs.push || true }}
docker_multiplatform: ${{ inputs.docker_multiplatform || true }}
app_version: ${{ needs.create_app_version.outputs.version }}

dev-approval-gate:
needs: [kotlin_validate,build,helm_lint]
needs:
- kotlin_validate
- build
- helm_lint
environment: dev
runs-on: ubuntu-latest
steps:
Expand All @@ -95,7 +97,7 @@ jobs:
name: Deploy
needs:
- create_app_version
- build
- dev-approval-gate
uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@main
secrets: inherit
with:
Expand Down

0 comments on commit baef14b

Please sign in to comment.