* remove FEATURE_NEW_VERSIONS from feature-flags.json * remove process.env.FEATURE_NEW_VERSIONS from include files * remove process.env.FEATURE_NEW_VERSIONS from lib files * remove process.env.FEATURE_NEW_VERSIONS from middleware files * remove process.env.FEATURE_NEW_VERSIONS from script files * remove process.env.FEATURE_NEW_VERSIONS from test files * update test fixtures to use new versions as canonical fixtures
21 lines
497 B
JavaScript
Executable File
21 lines
497 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// [start-readme]
|
|
//
|
|
// This script is run automatically via GitHub Actions on every push to `master` to generate searchable data
|
|
// and upload it to our Algolia account. It can also be run manually. For more info see [contributing/search.md](contributing/search.md)
|
|
//
|
|
// [end-readme]
|
|
|
|
require('make-promises-safe')
|
|
|
|
main()
|
|
|
|
async function main () {
|
|
const sync = require('../lib/algolia/sync')
|
|
const opts = {
|
|
dryRun: 'DRY_RUN' in process.env
|
|
}
|
|
await sync(opts)
|
|
}
|