Skip to content

Commit

Permalink
Merge pull request #196 from ystv/mia/calendar-to-internal-site
Browse files Browse the repository at this point in the history
Make prod and preview internal-site too
  • Loading branch information
archessmn authored Dec 31, 2024
2 parents e86b478 + faff24b commit ba39d10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pipeline {
changeRequest target: 'main'
}
steps {
deployPreview action: 'deploy', job: 'calendar-preview', urlSuffix: 'internal.dev.ystv.co.uk'
deployPreview action: 'deploy', job: 'internal-site-preview', urlSuffix: 'internal.dev.ystv.co.uk'
}
}

Expand All @@ -85,10 +85,10 @@ pipeline {
}
steps {
build job: 'Deploy Nomad Job', parameters: [
string(name: 'JOB_FILE', value: 'calendar-prod.nomad'),
text(name: 'TAG_REPLACEMENTS', value: "registry.comp.ystv.co.uk/ystv/calendar2023:${imageTag}")
string(name: 'JOB_FILE', value: 'internal-site-prod.nomad'),
text(name: 'TAG_REPLACEMENTS', value: "registry.comp.ystv.co.uk/ystv/internal-site:${imageTag}")
], wait: true
sh "nomad alloc exec -task calendar-prod -job calendar-prod npx -y prisma migrate deploy --schema lib/db/schema.prisma"
sh "nomad alloc exec -task internal-site-prod -job internal-site-prod npx -y prisma migrate deploy --schema lib/db/schema.prisma"
}
}
}
Expand Down

0 comments on commit ba39d10

Please sign in to comment.