@angular-custom-builders/aws-actions
v0.1.0
Published
This library was generated with [Nx](https://nx.dev).
Downloads
6
Readme
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"
}
}