Skip to content

Instantly share code, notes, and snippets.

@zackproser
Last active March 16, 2021 15:15
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 zackproser/98a48d424341441bdd62f9c1209e7d97 to your computer and use it in GitHub Desktop.
Save zackproser/98a48d424341441bdd62f9c1209e7d97 to your computer and use it in GitHub Desktop.
CircleCI Workflows version upgrade
workflows:
# We need to upgrade this version to 2 across all our repos to be able to use the context nodes!
version: 1
build-and-test:
jobs:
- test:
context:
- Gruntwork Admin
filters:
tags:
only: /^v.*/
- build:
context:
- Gruntwork Admin
requires:
- test
filters:
tags:
only: /^v.*/
- deploy:
context:
- Gruntwork Admin
requires:
- build
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment