0.1.0 • Published 4 years ago

@angular-custom-builders/aws-actions v0.1.0

Weekly downloads
9
License
-
Repository
-
Last release
4 years ago

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"
  }
}