diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 549d083..ed9e82d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -9,11 +9,25 @@ pipelines: branches: master: - step: - script: - - echo 'Master Test' - #caches: - #- node - #script: # Modify the commands below to build your repository. - #- npm install - #- npm install -g @angular/cli - #- ng build + caches: + - node + script: # Modify the commands below to build your repository. + - npm install + - npm install -g @angular/cli + - ng build + - pipe: atlassian/aws-s3-deploy:0.3.8 + variables: + AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY + AWS_DEFAULT_REGION: 'ap-south-1' + S3_BUCKET: 'autodeploy001' + LOCAL_PATH: 'fbpath' + # CONTENT_ENCODING: '' # Optional. + # ACL: '' # Optional. + # STORAGE_CLASS: '' # Optional. + # CACHE_CONTROL: '' # Optional. + # EXPIRES: '' # Optional. + # DELETE_FLAG: '' # Optional. + # EXTRA_ARGS: '' # Optional. + # DEBUG: '' # Optional. +