S3 upload
In the root of the plugin project you will find a scripts folder that holds on some builtIn scripts we run on deploy, you can see that there is a file named upload.js
This script can upload all of the plugin files to a S3 bucket of your choosing.
Run the following command to upload your plugin
npm run upload:s3 S3_BUCKET_NAME=$S3_BUCKET_NAME S3_REGION=$S3_REGION S3_ACCESS_KEY=$S3_ACCESS_KEY S3_SECRET_ACCESS_KEY=$S3_SECRET_ACCESS_KEY
This will first execute
npm run build
Then it will execute the ./scripts/upload.js
file.
The plugin path will be formatted as following
[S3_URL_PATH]/[PLUGIN_BUNDLE]/[VERSION replacing dots with dashes./-
]
Example of manifest path
https://s3-eu-west-1.amazonaws.com/your-bucket-name/se-infomaker-dashboard-plugin/1-0-0/manifest.json
Last updated
Was this helpful?