Merge branch 'master' of https://bitbucket.org/sriramv18/sparqsineedge
This commit is contained in:
commit
590b3f796f
29
bitbucket-pipelines.yml
Normal file
29
bitbucket-pipelines.yml
Normal file
@ -0,0 +1,29 @@
|
||||
# This is a sample build configuration for JavaScript.
|
||||
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
|
||||
# Only use spaces to indent your .yml configuration.
|
||||
# -----
|
||||
# You can specify a custom docker image from Docker Hub as your build environment.
|
||||
image: node:10.15.3
|
||||
|
||||
pipelines:
|
||||
branches:
|
||||
master:
|
||||
- step:
|
||||
caches:
|
||||
- node
|
||||
script: # Modify the commands below to build your repository.
|
||||
- cd ng6-seed
|
||||
- npm install
|
||||
- npm install -g @angular/cli
|
||||
- npm run staging
|
||||
- ls -ltr
|
||||
- cd dist
|
||||
- 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: $(pwd)
|
||||
DELETE_FLAG: 'true'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user