Skip to content

Commit

Permalink
fix(pipeline.yml): add env variables reference in jobs section
Browse files Browse the repository at this point in the history
  • Loading branch information
malaw-moj committed Jan 13, 2025
1 parent d9fc380 commit 0c27f74
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ on:
required: true
default: false
type: boolean

env:
ORG_PASSWORD: testPassword
UK_PRN: testUKPrn
PFX_FILE_PASSWORD: testPassword
VENDOR_ID: 04

permissions:
contents: read
packages: write
Expand All @@ -43,6 +36,12 @@ jobs:
secrets: inherit
with:
environment: ${{ matrix.environments }}
env:
PFX_FILE_PASSWORD: ${{ secrets.PFX_FILE_PASSWORD}}
UK_PRN: ${{ secrets.UK_PRN}}
ORG_PASSWORD: ${{ secrets.ORG_PASSWORD}}
VENDOR_ID: ${{ secrets.VENDOR_ID}}

kotlin_validate:
name: Validate the kotlin
uses: ministryofjustice/hmpps-github-actions/.github/workflows/kotlin_validate.yml@v2 # WORKFLOW_VERSION
Expand Down

0 comments on commit 0c27f74

Please sign in to comment.