Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created January 12, 2021 10:37
Show Gist options
  • Save velotiotech/61622e85e4b9b02914562ce92e1ee8dd to your computer and use it in GitHub Desktop.
Save velotiotech/61622e85e4b9b02914562ce92e1ee8dd to your computer and use it in GitHub Desktop.
version: 2.1
orbs:
aws-cli: circleci/aws-cli@1.0.0
serverless: circleci/serverless-framework@1.0.1
node: circleci/node@4.1.0
jobs:
deploy:
executor: serverless/default
steps:
- checkout
- node/install-yarn
- run:
name: install
command: yarn install
- run:
name: build
command: yarn build
- aws-cli/setup
- serverless/setup:
app-name: serverless-s3
org-name: velotio
- run:
name: deploy
command: serverless client deploy --no-confirm
workflows:
deploy:
jobs:
- deploy:
filters:
branches:
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment