Skip to content

Commit 58f2f8c

Browse files
committed
Add private key for nhs login v2
1 parent 37e4c36 commit 58f2f8c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/stage-2-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ jobs:
118118
working-directory: tests
119119
run: npx playwright install --with-deps
120120
- name: "Create nhs login private key file"
121-
env:
122-
NHS_LOGIN_PRIVATE_KEY: ${{ secrets.NHS_LOGIN_PRIVATE_KEY }}
123121
run: |
124122
mkdir -p local-environment/infra/resources/secrets
125-
printf '%s\n' "$NHS_LOGIN_PRIVATE_KEY" > local-environment/infra/resources/secrets/nhs-login-private-key.pem
123+
cat > local-environment/infra/resources/secrets/nhs-login-private-key.pem << 'EOF'
124+
${{ secrets.NHS_LOGIN_PRIVATE_KEY }}
125+
EOF
126126
- name: "Create credentials file"
127127
working-directory: tests
128128
run: |

0 commit comments

Comments
 (0)