Skip to content

Instantly share code, notes, and snippets.

@lior-amsalem
Created August 24, 2019 20:13
Show Gist options
  • Save lior-amsalem/4936f298e86c63be38098bf7a0e01e6b to your computer and use it in GitHub Desktop.
Save lior-amsalem/4936f298e86c63be38098bf7a0e01e6b to your computer and use it in GitHub Desktop.
How to use circleCI Orbs
version: 2.1
orbs:
aws-s3: circleci/aws-s3@1.0.11 # allows easy integration with AWS s3, require ENV var with AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY
slack: circleci/slack@3.3.0 # allows easy integration with slack, require SLACK_WEBHOOK (url provided by slack)
jobs:
# Job #1
build:
docker:
- image: circleci/node:11.10
working_directory: ~/app
steps:
# few steps here (run/command)
- slack/status:
success_message: Hey @${CIRCLE_USERNAME}, job is done successfully! :)
failure_message: Hey @${CIRCLE_USERNAME}, job failed! :(
only_for_branches: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment