* Remove an unused file * Move authenticate-to-aws to scripts/utils * Move crowdin-config to tests/utils * Remove add-frontmatter-to-file * Move find-unused-assets * Move git-utils to script/utils * Move lib/github to script/utils * Revert "Remove an unused file" This reverts commit cd93ad846a0354e957359f23124eb0724c9147cf. * Move find-extraneous-translation-files to script/utils * We already have tests/helpers * Rename script/utils => helpers for consistency * Forgot a path * Fix path to crowdin-config Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
21 lines
425 B
JavaScript
Executable File
21 lines
425 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const authenticateToAWS = require('./helpers/authenticate-to-aws.js')
|
|
|
|
// [start-readme]
|
|
//
|
|
// This script is used by other scripts to update temporary AWS credentials and authenticate to S3.
|
|
//
|
|
// [end-readme]
|
|
|
|
main()
|
|
|
|
async function main () {
|
|
const s3 = await authenticateToAWS()
|
|
if (s3) {
|
|
console.log('You are authenticated to s3!')
|
|
} else {
|
|
console.error('Something went wrong!')
|
|
}
|
|
}
|