Skip to content

Commit

Permalink
Merge pull request #146 from ministryofjustice/add-test-env-value
Browse files Browse the repository at this point in the history
Add test deployment job
  • Loading branch information
adamhughes86 authored Mar 11, 2025
2 parents 79ceb23 + 6578a2c commit 40b839e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
helm_lint:
strategy:
matrix:
environments: ['development','preprod','prod']
environments: ['development','test','preprod','prod']
name: helm lint
uses: ministryofjustice/hmpps-github-actions/.github/workflows/test_helm_lint.yml@v2 # WORKFLOW_VERSION
secrets: inherit
Expand Down Expand Up @@ -77,6 +77,16 @@ jobs:
needs: [deploy_dev]
uses: ./.github/workflows/e2e_tests.yml
secrets: inherit
deploy_test:
name: Deploy to the test environment
needs:
- build
if: github.ref == 'refs/heads/main'
uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v1
secrets: inherit
with:
environment: 'test'
app_version: '${{ needs.build.outputs.app_version }}'
# deploy_preprod:
# name: Deploy to pre-production environment
# needs:
Expand Down

0 comments on commit 40b839e

Please sign in to comment.