0.0.2-beta.3 • Published 3 years ago

@bentosmb/deploy v0.0.2-beta.3

Weekly downloads
6
License
ISC
Repository
-
Last release
3 years ago

Deployment Script

Description

Deploy project to lambda or s3 along with handling version control with your git repository.

How to Use

  • Add a new script to your package.json
...
"scripts": {
    ...
    "deploy": "deploy",
    "update": "deploy --quick",
    ...
}
...
  • In the terminal run npm run deploy and if you have configured it correctly, follow the prompts and enjoy
  • npm run update will only run deployment scripts and ignore git and version updates

Configuration

  • Install the package to project npm install @bentosmb/deploy --save-dev
  • Create a new file in the root of your project named deploy.conf
  • Paste the example configuration script and update to your needs
#!/bin/sh

#############################################
### -- CONFIGURE THE DEPLOYMENT SCRIPT -- ###
#############################################

# AWS Configuration
service=# lamdbda | s3
profile=
region=

key=(
  Development
  Staging
  Production
)

endpoint=(
  s3://com.example.dev/dir
  s3://com.example.stage/dir
  s3://com.example.prod/dir
)

Warning

This script has been created for a very specific internal operation and may not work with your configuration, will not work for most projects.

0.0.2-beta.3

3 years ago

0.0.2-beta.0

3 years ago

0.0.2-beta.1

3 years ago

0.0.2-beta.2

3 years ago

0.0.1-beta.0

3 years ago

0.0.1-beta.3

3 years ago

0.0.1-beta.2

3 years ago

0.0.1-beta.1

3 years ago

0.1.0-beta.2

3 years ago

0.1.0-beta.1

3 years ago

1.0.0-beta.1

3 years ago

1.0.1

3 years ago

0.0.1

3 years ago

0.0.2

3 years ago

1.0.0

3 years ago