Skip to content

Commit a31eaa3

Browse files
authored
repo sync
2 parents 35b882f + 0aeea5e commit a31eaa3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

script/check-s3-images.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const patterns = require('../lib/patterns')
1212
const authenticateToAWS = require('../lib/authenticate-to-aws.js')
1313
const readlineSync = require('readline-sync')
1414
const { execSync } = require('child_process')
15+
const enterpriseServerVersions = Object.keys(allVersions).filter(v => v.startsWith('enterprise-server@'))
1516
const uploadScript = path.join(process.cwd(), 'script/upload-images-to-s3.js')
1617

1718
// ignore the non-enterprise default version
@@ -51,7 +52,8 @@ async function main () {
5152
page,
5253
site: siteData,
5354
currentVersion: version,
54-
currentLanguage: 'en'
55+
currentLanguage: 'en',
56+
enterpriseServerVersions
5557
}
5658

5759
const rendered = await renderContent(page.markdown, context)

0 commit comments

Comments
 (0)