This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
S3 upload
Rickard Hansson edited this page Jan 14, 2019
·
8 revisions
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