Skip to content

Commit

Permalink
Add NEXT_PUBLIC_REST_API to build-time env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
probablybenallen committed Nov 18, 2022
1 parent 88b6ab5 commit 1715d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ pipeline {
script {
def secrets = [
[path: "ci/ystv-public-site-${deployEnv}", engineVersion: 2, secretValues: [
[envVar: 'NEXT_PUBLIC_INTERNAL_SITE', vaultKey: 'internal-site']
[envVar: 'NEXT_PUBLIC_INTERNAL_SITE', vaultKey: 'internal-site'],
[envVar: 'NEXT_PUBLIC_REST_API', vaultKey: 'web-api-endpoint']
]]
]
withVault([configuration: vaultConfig, vaultSecrets: secrets]) {
Expand Down

0 comments on commit 1715d1f

Please sign in to comment.