3.3.3 • Published 6 years ago

@motorjs/plugin-s3 v3.3.3

Weekly downloads
1
License
-
Repository
github
Last release
6 years ago

Motor plugin-s3

push static site to S3 after rendering

Installation

using yarn

yarn add @motorjs/plugin-s3

using npm

npm i -S @motorjs/plugin-s3

Usage

const motor = require('@motorjs/engine')
const S3 = require('@motorjs/plugin-s3')

const motorConfig = {
  templatesDir : path.resolve('templates'),
  outputDir : path.resolve('output'),
  viewsDir : path.resolve('views'),

  plugins: [
    new S3({
      s3Options: {
        accessKeyId: process.env.AWS_ACCESS,
        secretAccessKey: process.env.AWS_SECRET,
        region: '<aws-region>',
      },
      bucket: '<bucjet-name>',
      prefix: '<optional-prefix>',
    })
  ]
}

motor(motorConfig)
3.3.3

6 years ago

3.3.2

6 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.4

7 years ago

3.2.3

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago