Last active
January 21, 2019 09:25
-
-
Save balanza/b8b7c8bb6da4e94210c9df6b2325e0b9 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
pipelines: | |
default: | |
- step: | |
name: Build | |
image: node:10 | |
script: | |
- npm install | |
- npm run build | |
artifacts: | |
- dist/** | |
- step: | |
# set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as environment variables | |
name: Deploy to S3 | |
image: atlassian/pipelines-awscli | |
script: | |
- aws s3 sync --delete ./dist s3://my-website.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment