Last active
July 27, 2019 15:05
-
-
Save karkranikhil/3a98fd240f9b8370ac125b1c947d3621 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: 2.1 | |
| orbs: | |
| aws-s3: circleci/aws-s3@1.0.4 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/python:2.7-node | |
| environment: | |
| AWS_REGION: ap-southeast-2 | |
| steps: | |
| - checkout | |
| - run: npm install | |
| - run: npm run build | |
| - aws-s3/sync: | |
| from: build | |
| to: 's3://ci-cd-workflow/' | |
| arguments: | | |
| --acl public-read \ | |
| --cache-control "max-age=86400" \ | |
| overwrite: true | |
| workflows: | |
| version: 2.1 | |
| build: | |
| jobs: | |
| - build: | |
| filters: | |
| branches: | |
| only: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment