Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created January 12, 2021 10:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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