S3 upload - Infomaker/Dashboard-Plugin GitHub Wiki

s3.js

In the root of the plugin project you will find a script file named s3.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

yarn upload:s3 accessKeyId="YOUR_ACCESS_KEY_ID" secretAccessKey="YOUR_SECRET_ACCESS_KEY" bucket="YOUR_BUCKET"

This will first execute

yarn build:prod

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