@angular-custom-builders/aws-actions
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

aws-actions

This library was generated with Nx.

Running unit tests

The plugin allow to pull an artifact from an S3 bucket.

Precondition:

  • aws cli already installed
  • .env which contains the AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID

AWS pull action Download an artifact from S3 to local

"aws": {
  "builder": "@angular-custom-builders/aws-actions:pull",
  "options": {
    "bucket": "s3://myapp-builds/branch",
    "artifactName": "myapp.tar.bz2",
    "outputPath": "dist/apps/myapp"
  }
}

AWS push action Upload an artifact from local to S3

"aws": {
  "builder": "@angular-custom-builders/aws-actions:push",
  "options": {
    "bucket": "s3://myapp-builds/branch",
    "artifactName": "myapp.tar.bz2",
    "outputPath": "dist/apps/myapp"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @angular-custom-builders/aws-actions

Weekly Downloads

4

Version

0.1.0

License

none

Unpacked Size

26.1 kB

Total Files

38

Last publish

Collaborators

  • mauriziovitale
  • popovicsandras