Skip to content

Instantly share code, notes, and snippets.

@balanza
Last active January 21, 2019 09:25
Show Gist options
  • Save balanza/b8b7c8bb6da4e94210c9df6b2325e0b9 to your computer and use it in GitHub Desktop.
Save balanza/b8b7c8bb6da4e94210c9df6b2325e0b9 to your computer and use it in GitHub Desktop.
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