Skip to content

Instantly share code, notes, and snippets.

@promiseofcake
Created April 3, 2020 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save promiseofcake/9252ae788aa2502806558dcba96e6ada to your computer and use it in GitHub Desktop.
Save promiseofcake/9252ae788aa2502806558dcba96e6ada to your computer and use it in GitHub Desktop.
Sample Workflow CircleCi
jobs:
build:
docker:
- image: circleci/<language>:<version TAG>
steps:
- checkout
- run: build
test:
docker:
- image: circleci/<language>:<version TAG>
steps:
- checkout
- run: test
deploy
docker:
- image: circleci/<language>:<version TAG>
steps:
- checkout
- run: deploy
workflows:
version: 2
build_and_test:
jobs:
- build
- test
deploy_artifact:
jobs:
- deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment