Skip to content

Commit

Permalink
Update deploy-docs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzaibkhalid committed Mar 28, 2023
1 parent d9785c4 commit 9bc0a02
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions scripts/deploy-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,9 @@ const deployToS3Deprecated = () => {
})
}

if (env === 'production') {
deployToS3('latest')
.then(() => deployToS3(`v${version}`))
// Continue to deploy to the thorium bucket because http://tds.telus.com points there
// TODO: Rip this out when the domain name is pointed at the new bucket: TDS-286
.then(() => deployToS3Deprecated())
} else {
deployToS3('staging')
}

deployToS3('latest')
.then(() => deployToS3(`v${version}`))
// Continue to deploy to the thorium bucket because http://tds.telus.com points there
// TODO: Rip this out when the domain name is pointed at the new bucket: TDS-286
.then(() => deployToS3Deprecated())

0 comments on commit 9bc0a02

Please sign in to comment.