Skip to content

To help you deploy static web applications with ali-oss node sdk.

Notifications You must be signed in to change notification settings

Blackman99/ali-oss-static-web-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A tool to help you deploy static web application with Ali OSS

Features

  • Keep your Ali OSS bucket mantain the minimal occupation by comparing and deleting the unnecessary files in OSS
  • Uploading commandline progress bar

Install

  • via npm
npm install --save ali-oss-static-web-deploy
  • via yarn
yarn add ali-oss-static-web-deploy

Usage

const aliOSSStaicWebDeploy = require('ali-oss-static-web-deploy')
aliOSSStaicWebDeploy({
  region: 'Your region',
  accessKeyId: 'Your access key',
  accessKeySecret: 'Your access key secret',
  bucket: 'Your bucket name',
  // for example: require('path').resolve(process.cwd(), 'dist')
  staticWebAppPath: 'Your local path to deploy'
})

If you don't know how to get the accessKeyId and accessKeySecret.

Please read the Ali RAM Documnetation

References

License

MIT

About

To help you deploy static web applications with ali-oss node sdk.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published